Skip to content

[MINOR][PYTHON][DOCS] Fixed some links in documentation.#57359

Open
art000109 wants to merge 4 commits into
apache:masterfrom
art000109:master
Open

[MINOR][PYTHON][DOCS] Fixed some links in documentation.#57359
art000109 wants to merge 4 commits into
apache:masterfrom
art000109:master

Conversation

@art000109

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Fixed some links in DataFrame and Pandas-On-Spark-DataFrame classes.

Why are the changes needed?

The documentation will be more comprehensive.

Does this PR introduce any user-facing change?

No. This is a documentation-only change.

How was this patch tested?

Manual review.

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

No.

### What changes were proposed in this pull request?
Fixed some links in DataFrame and Pandas-On-Spark-DataFrame classes.

### Why are the changes needed?
The documentation will be more comprehensive.

### Does this PR introduce any user-facing change?
No. This is a documentation-only change.

### How was this patch tested?
Manual review.

### Was this patch authored or co-authored using generative AI tooling?
No.
@art000109 art000109 changed the title [MINOR][PYSPARK][DOCS] Fixed some links in documentation. [MINOR][PYTHON][DOCS] Fixed some links in documentation. Jul 19, 2026
pandas-on-Spark DataFrame that corresponds to pandas DataFrame logically. This holds Spark
DataFrame internally.

.. versionadded:: 3.2.0

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.

Was this added 3.2.0? Also, I think versionchanged directive as for the new parameter

@art000109 art000109 Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes, Pandas API was added in SPARK-34849 for 3.2.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This API calls the DataFrame.pandas_api function, which was added in version 3.2.0 https://github.com/apache/spark/blob/master/python/pyspark/sql/dataframe.py#L6463

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.

ah it was pandas'

Comment thread python/pyspark/sql/__init__.py Outdated
"DataFrameWriterV2",
"MergeIntoWriter",
"DataStreamReader",
"DataStreamWriter",

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.

DataStreamReader / DataStreamWriter technically are not API so we don't need this

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Okay, I've removed that block

See Also
--------
pyspark.pandas.frame.DataFrame.to_spark
pyspark.pandas.DataFrame.to_spark

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.

This yes we would need thos

Comment thread python/pyspark/sql/functions/builtin.py Outdated
Comment thread python/pyspark/sql/functions/builtin.py Outdated
extraction :
index to check for in array or key to check for in map

Returns

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.

I am documenting them in #57185. Let's avoid those changes for now

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh, sorry. I've deleted this block

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.

can we remove all?

@HyukjinKwon

Copy link
Copy Markdown
Member

Let's file a JIRA

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