xxxxxxxxxx
frames = [df1, df2, df3]
result = pd.concat(frames)
# sorted indices
result = pd.concat([ret, items], ignore_index = True, axis = 0)
xxxxxxxxxx
# Stack the DataFrames on top of each other
vertical_stack = pd.concat([survey_sub, survey_sub_last10], axis=0)
# Place the DataFrames side by side
horizontal_stack = pd.concat([survey_sub, survey_sub_last10], axis=1)
xxxxxxxxxx
combined_dataframe = pd.concat([data1, data2, data3], ignore_index=True)
# Export the combined dataset
combined_dataframe.to_parquet('combined.parquet.gzip',compression='gzip')
xxxxxxxxxx
merged_df = left_df.merge(right_df, how='inner', left_on=["A", "B"], right_on=["A2","B2"])
xxxxxxxxxx
df_cd = pd.merge(df_SN7577i_c, df_SN7577i_d, how='inner', left_on = 'Id', right_on = 'Id')