I recently started working with pandas dataframes.
I have a list of dataframes called 'arr'.
Edit: All the dataframes in 'arr' have same columns but different data. Also, I have an empty dataframe 'ndf' which I need to fill in using the above list. How do I iterate through 'arr' to fill in the max values of a column from 'arr' into a row in 'ndf' So, we'll have
Number of rows in ndf = Number of elements in arr
I'm looking for something like this:
columns=['time','Open','High','Low','Close']
ndf=DataFrame(columns=columns)
ndf['High']=arr[i].max(axis=0)