Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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