Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

left join two dataframes pandas on two different column names

Both_DFs = pd.merge(df1,df2, how='left',left_on=['A','B'],right_on=['A','CC']).dropna()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #left #join #dataframes #pandas #column #names
ADD COMMENT
Topic
Name
8+6 =