Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Data Analysis

Value error when trying to merge the data frames

dataset = pd.merge(demo, bmx, on='SEQN', how='inner') When running this code, i get a value error and I'm sure why Any help would be great, many thanks

Can you post a link to the video or challenge?

1 Answer

https://teamtreehouse.com/library/exploring-your-dataset it's the last step in the video and I've writen it out the same. this is the error i get: ValueError: You are trying to merge on int64 and object columns. If you wish to proceed you should use pd.concat i understand the error, i just don't get why I'm getting the error and not the lady in the video