for 里面 感觉有点费劲
for name in df.columns[0:3]:
json_quantile[name] = np.percentile(df[name][~np.isin(df[name] , missset)], (1,5,25,50,75,95,99))
直接遍历 df的columns 就行了呗 , 弄那么费劲 ,
for name in df.columns[0:3]:
json_quantile[name] = np.percentile(df[name][~np.isin(df[name] , missset)], (1,5,25,50,75,95,99))
直接遍历 df的columns 就行了呗 , 弄那么费劲 ,
2022-05-18
举报