Any good explanations on pd.merge(df,df2, on=['Code', 'Region'])

William Ayd william.ayd at icloud.com
Wed Nov 8 11:54:37 EST 2017


Assuming df and df2 are dataframes you are essentially doing a SQL-like join of the two objects where the records within match on both the Code and Region columns

Sent from my iPhone


More information about the Python-list mailing list