I want to know if there's a way in python for reading multiple CSV file form a folder and assigning to separate data frame by the name of the file. The below code will throw an error but to show the point I pasted it
import glob
for filename in glob.glob('*.csv'):
index = filename.find(".csv")
if "test" in filename:
filename[:index]) = pd.read_csv(filename)