I have some csv files, where one line is added every hour to each file.
I want to read the last 20 lines from the file and load them into a dataframe.
My approach is:
log_total = [pd.read_csv(f, skiprows=) for f in glob('./coins/*.csv')]
How do I calculate the total number of rows from the file?