Skip to content

[MINOR][PS][DOCS] Replace ellipsis with ASCII in pandas-on-Spark DataFrame docstrings#55562

Closed
zhengruifeng wants to merge 1 commit into
apache:masterfrom
zhengruifeng:minor-ps-ascii-ellipsis-in-frame-docstrings
Closed

[MINOR][PS][DOCS] Replace ellipsis with ASCII in pandas-on-Spark DataFrame docstrings#55562
zhengruifeng wants to merge 1 commit into
apache:masterfrom
zhengruifeng:minor-ps-ascii-ellipsis-in-frame-docstrings

Conversation

@zhengruifeng
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Replaces the Unicode horizontal ellipsis character (U+2026, ) with three ASCII dots (...) in four ignore_index parameter docstrings in python/pyspark/pandas/frame.py (lines 7991, 9649, 10252, 13354):

    If True, the resulting axis/index will be labeled 0, 1, …, n - 1.
  → If True, the resulting axis/index will be labeled 0, 1, ..., n - 1.

Why are the changes needed?

Project convention is ASCII-only in code and comments. The same docstring already uses the ASCII form at frame.py:7879 and in python/pyspark/pandas/series.py:3002, 3133, so this just makes the four outliers consistent with the rest of the file.

Does this PR introduce any user-facing change?

No. Docstring-only change; rendering is essentially identical.

How was this patch tested?

No tests. Verified grep -P "[^\x00-\x7F]" no longer reports the four sites and that the ASCII form already exists at frame.py:7879.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (model: claude-opus-4-7)

@zhengruifeng zhengruifeng marked this pull request as ready for review April 28, 2026 00:24
@zhengruifeng
Copy link
Copy Markdown
Contributor Author

merged to master

@zhengruifeng zhengruifeng deleted the minor-ps-ascii-ellipsis-in-frame-docstrings branch April 28, 2026 01:32
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.

2 participants