-1

I need to append many series to a dataframe (averages_per_trip) but am getting empty dataframes each time. It doesn't even work once. What gives? (reference Is it possible to append Series to rows of DataFrame without making a list first?)

1 Answers1

0

The problem is with the append function. It does not update the initial dataframe, you must:

df = df.append(stuff)
sdgaw erzswer
  • 2,182
  • 2
  • 26
  • 45