@mukul98m wrote:
Experiment With data workshop
- Missing Value Treatment
var_to_impute = [‘Workclass’,‘Occupation’,‘Native.Country’]
for var in var_to_impute:
Train[var].fillna(mode(Train[var]).mode[0], inplace=True)
TypeError: ‘<’ not supported between instances of ‘float’ and ‘str’
Posts: 1
Participants: 1