Skip to content

DOC: Add note to DataFrame.compare about only able to compare identically-labeled DataFrame objects #35491

Closed
@erfannariman

Description

@erfannariman

Location of the documentation

pandas.core.frame::compare

Documentation problem

Right now there is not a note/warning that you can only compare dataframes with the same shape and index labels.

Suggested fix for documentation

Add note:

Note: the method can only compare identically-labeled DataFrame objects, this means DataFrames with identical row and column labels.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions