Skip to content

Inccorect example in DataFrame.to_dict docstring #19868

Closed
@mbkupfer

Description

@mbkupfer

pandas.DataFrame.to_dict documentation has incorrect example. In first example box, df.col2 is showing wrong data.

df.col2 should =

a    0.50
b    0.75

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions