Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Showing error in categorical missing value treatment

$
0
0

@shankarj67 wrote:

can anyone help me with this code, I am trying to fill the categorical missing value using this code and it is showing error

my code:
from scipy.stats import mode
mode(train['Workclass']).mode[0]

This is my error:
C:\Users\SKHK634\Anaconda3\lib\site-packages\scipy\stats\stats.py:257: RuntimeWarning: The input array could not be properly checked for nan values. nan values will be ignored.
"values. nan values will be ignored.", RuntimeWarning)

can anyone help me with this.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles