Skip to content

docs: fix duplicated-word typos in docstrings - #12516

Merged
crusaderky merged 2 commits into
dask:mainfrom
Sreekant13:docs/fix-docstring-typos
Aug 17, 2026
Merged

crusaderky merged 2 commits into
dask:mainfrom
Sreekant13:docs/fix-docstring-typos

Conversation

@Sreekant13

Copy link
Copy Markdown
Contributor
  • Closes #xxxx (no issue; trivial typo cleanup)
  • Tests added / passed (docs-only change; no test impact)
  • Passes pixi run lint (text-only change in docstrings; I did not run pixi locally, but it only removes accidental repeated words, so it cannot affect lint)

Removes a few accidental repeated words in docstrings and one test docstring. Text only, no behavior change.

  • dask/dataframe/partitionquantiles.py: "the the original cubes" -> "the original cubes"
  • dask/dataframe/dask_expr/_groupby.py: "used to to apply" -> "used to apply"
  • dask/dataframe/dask_expr/_collection.py: "which is is separated" -> "which is separated"
  • dask/tests/test_config.py: "within the the same directory" -> "within the same directory"

I deliberately left dask/dataframe/shuffle.py "The dtype to cast to to avoid nullability issues" unchanged, since that is a legitimate "cast to, to avoid" and not a repeated word.

Remove accidental repeated words ("the the", "to to", "is is") in a few
docstrings and one test docstring. Text-only, no behavior change.
@github-actions

github-actions Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

     25 files  +     1       25 suites  +1   7h 10m 57s ⏱️ + 37m 20s
 19 914 tests ±     0   18 481 ✅ ±     0   1 433 💤 ±    0  0 ❌ ±0 
379 353 runs  +18 454  332 081 ✅ +17 226  47 272 💤 +1 228  0 ❌ ±0 

Results for commit ed66156. ± Comparison against base commit a543291.

♻️ This comment has been updated with latest results.

@jrbourbeau jrbourbeau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Sreekant13. Overall LGTM just one small comment below

Comment thread dask/dataframe/dask_expr/_collection.py Resolved
@Sreekant13

Sreekant13 commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor Author

Good catch, thanks @jrbourbeau — that one was "it is" rather than a duplicated "is". Fixed and pushed. Sorry for the slow turnaround.

@crusaderky crusaderky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@crusaderky
crusaderky merged commit 817e5ff into dask:main Aug 17, 2026
32 of 33 checks passed
@Sreekant13

Copy link
Copy Markdown
Contributor Author

Thanks for merging this @crusaderky, and thanks @jrbourbeau for the review. Your catch that the is is in _collection.py was really it is was a good one, and I have since run into the same pattern elsewhere, so it was a useful lesson.

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.

3 participants