mesclar dois quadros de dados com base na coluna
df_outer = pd.merge(df1, df2, on='id', how='outer') #here id is common column
df_outer
Sachin
df_outer = pd.merge(df1, df2, on='id', how='outer') #here id is common column
df_outer
df_3 = pd.concat([df_1, df_2])
df_merge_col = pd.merge(df_row, df3, on='id')
df_merge_col
bigdata = pd.concat([data1, data2], ignore_index=True, sort=False)
# 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)
df_merge_col = pd.merge(df_row, df3, on='id')
df_merge_col