Skip to content

CLN: remove fastpath & verify_integrity from constructors #20110

Open
@jreback

Description

@jreback

this is a top-level issue to remove the fastpath and/or verify_integrity keyword args from constructors from public interfaces, classes such as Categorical, Series, andMultiIndex. If these are removed all once from a particular class, e.g. Index/MultiIndex for verify_integrity, but are still needed for an internal API, then can add an internal constructor _from_fastpath which can serve instead (e.g. see pandas.core.dtypes.dtype.CategoricalDtype for an example of this) There may be some re-factoring required to keep things DRY.

Most of these will actually need to be deprecated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CleanConstructorsSeries/DataFrame/Index/pd.array ConstructorsDeprecateFunctionality to remove in pandas

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions