Is there a way to read multiple csv files into Pandas through a loop and define them as such?
for i in ['a', 'b', 'c', 'd']:
csv_(i) = pd.read_csv('C:/test_{}.csv'.format(i))
I see multiple questions about reading and appending multiple csvs into a single dataframe. Not the other way around.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…