r/Python • • Jul 24 '24

Discussion Funny Value error

I just started working and learning all the KMeans, Clustering, etc. It's been fun so far. I received this value error and had a chuckle, so I thought I would share it.
ValueError: could not convert string to float: 'American Cheese (slice)'

0 Upvotes

1 comment sorted by

View all comments

12

u/GXWT Jul 25 '24

Would have expected a TypeError since we can’t class that fake American stuff as type: Cheese ;)