pandas and NumPy 3 · Grouping and combining

Stack DataFrames

Append DataFrames with the same columns.

pd.concat([df1, df2], ignore_index=True)

Official pandas and NumPy 3 documentation

More grouping and combining commands

All grouping and combining commands · pandas and NumPy 3 cheatsheet

Was this page helpful?