Change dtype of column
for c,dtype in zip(prop.columns, prop.dtypes): if dtype == np.float32: prop[c] = prop[c].astype(np.float32)