Decide whether (new) ExtensionArrays and Dtypes are public · Issue #22860 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@TomAugspurger

Description

@TomAugspurger

This mostly affects

  1. IntervalArray
  2. PeriodArray
  3. DatetimeArray (and maybe TimedeltaArray if we do that)
  4. SparseArray
  5. IntegerArray

Categorical is already public, so let's leave that out.


A few questions

  1. do we allow users to construct these directly (via a set of to_*_array methods, or a top-ish-level pd.array([...], dtype) method)?
  2. Do users see these when they do .values or any operation returning an array (.unique, probably others)?