Python cannot do a non-empty take from an empty axes

Код:

quant_df = train_df.copy()
for col in quant_df.columns:
  quant_df = quant_df[quant_df[col] < np.quantile(quant_df[col].dropna(), 0.95)]

Ошибка: введите сюда описание изображения

Данные:

введите сюда описание изображения


Ответы (0 шт):