1

I have pandas data frame numbered from x1,x2....x100 with same columns.

I want to append them all using a for loop. How can i do that? I know how to append two dataframe but how to do it for 100 of them. The main problem here is how can i have a dynamic variable name.

I want to append the data frames not concat.

x=x1.append(x2) x=x.append(x3) and so on.

I want to this in a loop.

Ankur Gulati
  • 291
  • 1
  • 12

0 Answers0