I have 6 csv files with identical headers. I am trying to remove index 0 and merge them into a single dataframe. One problem I keep running into is I only seem to access the last file in glob.
import glob
import csv
import pandas as pd
for item in glob.glob("*.csv"):
    with open(item, 'r') as csvfile:
        reader = csv.reader(csvfile, delimiter=',')
        for row in reader:
            print(row)
any thoughts?
itembefore opening the file? Or just printingglob.glob("*.csv")? What happened?