Learn
Courses
Career Tracks
Upcoming Courses
Certificates
Career Track Certificate
Course Certificate
Resources
All Resources
Course Notes
Templates
Infographics
Career Guides
Practice Exams
Blog
Success Stories
Pricing
Business
Team Plan
Live Trainings
Log In
Sign Up
Follow this topic
Share
Edward Kenway
Last answered:
12 Apr 2022
Posted on:
11 Apr 2022
0
ValueError: Found unknown categories [nan] in column 2 during fit
in
Machine Learning in Python
/
Course Introduction
2 answers ( 0 marked as helpful)
Hristina Hristova
Instructor
Posted on:
11 Apr 2022
1
Hristina Hristova
Instructor
Posted on:
12 Apr 2022
1
Submit an answer
Submit answer
related questions
Christine Li
0
8
scaler.fit(x) does not work
Desislava Hristova
0
8
Resolved:
Dendrogram when categorical variable has many categories
Val Toshev
0
4
Error: ValueError: endog must be in the unit interval.
Kanva Bhatia
0
4
during results_log = reg_log.fit(), error encounter but code runs
Rajya L Hari
1
2
Assumption_3.csv file not found
ABDULGAFAR SALIUOKULU
0
2
Resolved:
ValueError: Length of values (2) does not match length of index (3)
Rajeev Ramani
0
2
Calling fit on train data
Alessandro Imbrìaco
1
2
Resolved:
When I run the cell "reg.fit(x_matrix,y)" I don't see that output