Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python inner join based on two columns

df  = pd.merge(left=df1, right=df2, on=['var_1', 'var_2'], how='inner']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #join #based #columns
ADD COMMENT
Topic
Name
7+6 =