Skip to content

docs: remove the duplicate "Known differences" section from the README - #546

Merged
JohnnyWilson16 merged 1 commit into
mainfrom
docs/readme-dedupe-differences-jwd
Nov 28, 2026
Merged

JohnnyWilson16 merged 1 commit into
mainfrom
docs/readme-dedupe-differences-jwd

Conversation

@JohnnyWilson16

Copy link
Copy Markdown
Contributor

Cause

#545 added the "Known differences between pandas and Polars" section to the README twice. The two copies have the same 6 rows in different wording. My mistake: I added the section, then added it again after a context reset, and the test only checked that the heading exists.

Change

  • Remove the second copy (16 lines). The first copy stays, because it also tells the reader what to do when they need the same result on both backends.
  • test_readme_has_the_section becomes test_readme_has_the_section_once and asserts that the heading occurs exactly once.

No library code changes. No public behavior changes.

Check

Before (main 593720a):

FAILED tests/test_known_differences.py::test_readme_has_the_section_once - As...
1 failed, 6 passed in 0.63s

After:

7 passed in 0.67s

Full suite: 117 passed. The README blocks run with exit 0. mkdocs build --strict exits 0.

#545 added the section twice, with the same 6 rows in two wordings.
This keeps the first copy, which also tells the reader what to do.
The test now checks that the README has the heading exactly once.
@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6cc57aa6-c5da-4d39-838b-edd35d5c2816
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@JohnnyWilson16
JohnnyWilson16 merged commit 5ea061a into main Nov 28, 2026
14 checks passed
@JohnnyWilson16
JohnnyWilson16 deleted the docs/readme-dedupe-differences-jwd branch November 28, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant