BUG: wrong errors when indexing with list that includes pd.NA #31948
Labels
Bug
Error Reporting
Incorrect or improved errors from pandas
Indexing
Related to indexing on series/frames, not to indexes themselves
NA - MaskedArrays
Related to pd.NA and nullable extension arrays
Currently, indexing with a list including pd.NA (so the list version of indexing with a BooleanArray or IntegerArray) works on the array, but not on Series:
("works" = raising the correct error message)
vs
Because the validation of the indexer isn't yet updated to handle listlikes that include pd.NA.
And similar problems for setitem.
The text was updated successfully, but these errors were encountered: