So I have a list of dataframes and I want to get the max and min from it.
I know we have functions max() and min(), but how would I use that with panda's dataframes? I have a column with time that I want the min and maxes of.
For example, here's a list of dataframes
>>> df_list
[ letter number animal
0 c 3 cow
1 d 4 mouse, letter number animal
0 f 1 cow]
To get the minimum I tried doing
>>> for df in df_list:
... df['number'].min()
...
3
1
But as you can see it prints the minimum for two separate dataframes, I want just one minimum from the set of all the dataframes. How would I go about doing this, preferably without a loop if possible? Thanks!