Attempting to replace the wdir and humd features of indoor conditions rows with imputed data. The data will not update and am getting a SetttingWithCopyWarning warning.
Code in question:
game.query('gen_cond == "indoor_cond"').fillna({'wdir': 'CALM', 'humd': 45}, inplace=True)
Attempting to replace the wdir and humd features of indoor conditions rows with imputed data. The data will not update and am getting a
SetttingWithCopyWarning
warning.Code in question:
game.query('gen_cond == "indoor_cond"').fillna({'wdir': 'CALM', 'humd': 45}, inplace=True)