Skip to content

DOC/TST: pandas.Series.str.get with dict elements supports passing hashable label #47911

Closed
@BeRT2me

Description

@BeRT2me

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/dev/reference/api/pandas.Series.str.get.html

Documentation problem

The fact that Series.str.get also works with Non-Numerical dict types isn't clear in the documentation.

Suggested fix for documentation

Parameters should be int or str and an example using a dictionary should be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsNested DataData where the values are collections (lists, sets, dicts, objects, etc.).StringsString extension data type and string data

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions