Skip to content

DOC: Update docstring of DataFrame/Series .equals() to explain the behavior with indices #22462

Closed
@datapythonista

Description

@datapythonista

Some work and some discussion happened at #19213.

df1.equals(df2) returns a single boolean value on whether the two dataframes contain the same values and indices. This includes types for the data, but not for the indices.

The docstring should be improved to follow all our standards, including:

  • A See Also section that at least links to .eq()
  • Parameters
  • Examples
  • Notes with the mentioned behavior about indices

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions