Is there a way to read multiple csv files in 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 several questions about reading and adding multiple csvs to one data frame. Not the other way around.
source
share