Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

merge two dataframes based on column

df_outer = pd.merge(df1, df2, on='id', how='outer') #here id is common column

df_outer
 
PREVIOUS NEXT
Tagged: #merge #dataframes #based #column
ADD COMMENT
Topic
Name
7+2 =