Is there a simple way to change a column of yes/no to 1/0 in a Pandas dataframe?,"pd.Series(np.searchsorted(['no', 'yes'], sample.housing.values), sample.index)"