Closed AgnesBaud closed 3 years ago
"KeyError: 'Passing list-likes to .loc or [] with any missing labels is no longer supported, see https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#deprecate-loc-reindex-listlike'" This error raises in NamesFiltering when names to keep or drop are not present in the dataframe's index (or columns)
Not raise the error (and only warn inside logging infos?)
Describe the bug
"KeyError: 'Passing list-likes to .loc or [] with any missing labels is no longer supported, see https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#deprecate-loc-reindex-listlike'" This error raises in NamesFiltering when names to keep or drop are not present in the dataframe's index (or columns)
Expected behavior
Not raise the error (and only warn inside logging infos?)