On Wed, Nov 08, 2017 at 09:26:04AM +0000, David Shi via Python-list wrote: > I am trying to gain a clear understanding on pd.merge(df,df2, on=['Code', > 'Region']). > Can anyone assist?
ncq@hermes:~$ python Python 2.7.14 (default, Sep 17 2017, 18:50:44) [GCC 7.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> pd.merge(df,df2, on=['Code', 'Region']) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'pd' is not defined >>> You will need to provide more context to get help. Regards, Karsten -- GPG key ID E4071346 @ eu.pool.sks-keyservers.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 -- https://mail.python.org/mailman/listinfo/python-list