@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