Exemplo n.º 1
0
 def _check_index_contains_na(self, index: pd.Index):
     if index.isnull().any():
         raise ValueError(
             "The dataframe index contains missing data. "
             "Check and remove those before using this transformer "
             "or set missing_values to False."
         )