ENH: make the mask optional in the nullable masked ExtensionArrays #31273
Labels
Enhancement
ExtensionArray
Extending pandas with custom dtypes or arrays.
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Our nullable, mask-based ExtensionArrays (currently integer and boolean, inheriting from MaskedArray) have a
_data
and_mask
numpy arrays stored under the hood.A relatively straight-forward optimization is probably to allow the
_mask
to be None, for the case that there are no missing values.(to be checked how involved the ops code would become to handle this as optional)
The text was updated successfully, but these errors were encountered: