BUG: NumpyEA[uint8].take([-1], allow_fill=True) nonsense result (original) (raw)

Pandas version checks

Reproducible Example

arr = pd.Series([1, 2, 3], dtype="uint8").array

arr.take([-1], allow_fill=True) [nan] Length: 1, dtype: uint8

Issue Description

The actual backing _ndarray is float64 but the result thinks it is still uint8.

Expected Behavior

N/A

Installed Versions

Details

Replace this line with the output of pd.show_versions()