merge two df pandas by one column code example
Example 1: merge two dataframes based on column
df_outer = pd.merge(df1, df2, on='id', how='outer')
df_outer
Example 2: concact geodataframe python
>>> s1 = pd.Series(['a', 'b'])
>>> s2 = pd.Series(['c', 'd'])
>>> pd.concat([s1, s2])
0 a
1 b
0 c
1 d
dtype: object