Skip to content

DEPR or DOCS: pd.value_counts() is public, but not documented. Deprecate or document? #47862

Closed
@Dr-Irv

Description

@Dr-Irv

Pandas version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • I have confirmed this bug exists on the main branch of pandas.

Reproducible Example

import pandas as pd
pd.value_counts([1,2,3,2,1])

Issue Description

pd.value_counts() works, but it does not appear in the documentation.

Two possibilities:

  1. It should not be exported and is not intended to be available.
  2. It should be exported, and needs documentation by modifying pandas/doc/source/reference/general_functions.rst

Uncovered when cleaning up pandas-stubs: pandas-dev/pandas-stubs#170 (comment)

Expected Behavior

Unclear!

Installed Versions

pandas 1.4.3 and associated docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    AlgosNon-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diffDeprecateFunctionality to remove in pandasDocsNeeds DiscussionRequires discussion from core team before further action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions