Data Analysis

Cassidy Louch
Cassidy Louch
1,377 Points

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

KRIS NIKOLAISEN
KRIS NIKOLAISEN
Pro Student 51,735 Points

Can you post a link to the video or challenge?

1 Answer

Cassidy Louch
Cassidy Louch
1,377 Points

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