Skip to content

Conversation

@ingo-stallknecht
Copy link
Contributor

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.
  • If I used AI to develop this pull request, I prompted it to follow AGENTS.md.

This PR updates the DataFrame.equals docstring to include a short example
showing how NaN values are handled.

  • Adds an example where NaN values are in the same locations, which compares True.
  • Adds an example where the position of NaN differs, which compares False.

Documentation-only change, no behavior modifications.

@mroeschke mroeschke added the Docs label Dec 1, 2025
@mroeschke mroeschke added this to the 3.0 milestone Dec 1, 2025
@mroeschke mroeschke merged commit 11c8fbe into pandas-dev:main Dec 1, 2025
41 checks passed
@mroeschke
Copy link
Member

Thanks @ingo-stallknecht

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants