You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At page 89 while doing label encoding. Nan value is filled with "NONE" which is string so it is giving error "argument must be.of string or float" . I can be fix either by df.ord_2.fillna(np.nan)
or lbl_enc.fit_transform(df.ord_2.values.astype(str))
The text was updated successfully, but these errors were encountered:
At page 89 while doing label encoding. Nan value is filled with "NONE" which is string so it is giving error "argument must be.of string or float" . I can be fix either by
df.ord_2.fillna(np.nan)
or
lbl_enc.fit_transform(df.ord_2.values.astype(str))
The text was updated successfully, but these errors were encountered: