pandas: replacing column values in dataframe,"w['female'] = w['female'].map({'female': 1, 'male': 0})"