I would like to read all the CSV files in my path and assign them each to a different variable name within my python code.
For example,
dshfd9438dks.csv
ansjewi38Ekd.csv
Would turn into:
df1 and df2
The code I have now is:
for f in glob.iglob('*.csv'):
df = pd.read_csv(f, low_memory=False)
How would I manipulate it to add a number to the df var?