Skip to content

(Re)-deprecate order keyword in factorize #19727

Closed
@TomAugspurger

Description

@TomAugspurger

In #6930 we deprecated order.

As of 0.18.1, the keyword was no-longer documented, and doesn't raise, but wasn't actually removed.

In [3]: pandas.factorize([0, 1], order=True)
Out[3]: (array([0, 1]), array([0, 1]))

In [4]: pandas.__version__
Out[4]: '0.18.1'

Metadata

Metadata

Assignees

No one assigned

    Labels

    AlgosNon-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diffDeprecateFunctionality to remove in pandasgood first issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions