I have a bunch of CSV files which contain data for a specific time and time is encoded as the filename:
time1.csv
Label val1 val2
a 5 6
b. 6 4
time2.csv
Label val1 val2
a 5 6
c 6 4
...
I can read each file into a Pandas data frame. Then I want to: Add the "time" column into each data frame and then merge all the data frames into a single data frame.
Is there a way to accomplish this?