Concatenation

Append rows and columns of DataFrames.

Rows

Combine DataFrames vertically.

pd.concat([df1, df2])

concat-rows

Columns

Combine DataFrames horizontally.

pd.concat([df1, df2], axis=1)

concat-cols

See also

Updated: