Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

intersection of dataframes based on column

s1 = pd.merge(dfA, dfB, how='inner', on=['S', 'T'])
s1.dropna(inplace=True)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #intersection #dataframes #based #column
ADD COMMENT
Topic
Name
3+7 =