Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
datapythonista opened this issue Aug 22, 2018 · 3 comments · Fixed by #22539

Comments

@datapythonista
Copy link
Member

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
@seantchan
Copy link
Contributor

@datapythonista If no one's working on this, can I claim it? I'm new to contributing and am still working my way around the workflow but am happy to help out if possible!

@datapythonista
Copy link
Member Author

Sure @seantchan , that's a great first issue if you're starting. Let me know if you need help.

@seantchan
Copy link
Contributor

Thanks Marc - working on it now. The docstring is all typed up, just reviewing it now and setting up the dev environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants