Skip to content

[MINOR][PS][DOCS] Replace curly quotes with ASCII in pandas-on-Spark index comments#55559

Closed
zhengruifeng wants to merge 1 commit intoapache:masterfrom
zhengruifeng:minor-ps-ascii-quotes-in-pandas-indexes
Closed

[MINOR][PS][DOCS] Replace curly quotes with ASCII in pandas-on-Spark index comments#55559
zhengruifeng wants to merge 1 commit intoapache:masterfrom
zhengruifeng:minor-ps-ascii-quotes-in-pandas-indexes

Conversation

@zhengruifeng
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Replaces left/right curly double quotes (U+201C/U+201D) with ASCII double quotes (U+0022) in four identical comments in pandas-on-Spark index modules:

  • python/pyspark/pandas/indexes/datetimes.py (2 sites)
  • python/pyspark/pandas/indexes/multi.py
  • python/pyspark/pandas/indexes/base.py

Each comment reads # so we enforce "distributed" default index type.

Why are the changes needed?

The project convention is ASCII-only in code and comments; typographic quotes are a common slip and were flagged by grep -P "[^\x00-\x7F]".

Does this PR introduce any user-facing change?

No. Comment-only change.

How was this patch tested?

No tests. The change is comment-only and produces an empty AST diff. Verified grep -P "[^\x00-\x7F]" no longer reports the four sites.

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

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

@zhengruifeng zhengruifeng changed the title [MINOR][PS] Replace curly quotes with ASCII in pandas-on-Spark index comments [MINOR][PS][DOCS] Replace curly quotes with ASCII in pandas-on-Spark index comments Apr 27, 2026
@zhengruifeng zhengruifeng marked this pull request as ready for review April 27, 2026 10:16
@zhengruifeng
Copy link
Copy Markdown
Contributor Author

merged to master

@zhengruifeng zhengruifeng deleted the minor-ps-ascii-quotes-in-pandas-indexes branch April 27, 2026 12:41
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