dropna inplace not working. Can anyone help.
dropna inplace not working. Can anyone help.
Collapse
X
-
Tags: None
-
-
I want to set mean value for all empty string instead of removing them.
here is the thing.
df = df.replace(r'^\ s*$', np.NaN, regex=True)
Thanks
ThanksComment
-
I hardly think mean is suitable for series you have.
Can you please help to understand what you tried to achieve here for the series.
Thanks.Comment
Comment