Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to join two dataframe in pandas based on two column

merged_df = left_df.merge(right_df, how='inner', left_on=["A", "B"], right_on=["A2","B2"])
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #join #dataframe #pandas #based #column
ADD COMMENT
Topic
Name
2+7 =