Skip to content

[SPARK-50138][PYTHON][DOCS][TESTS] Refine docstring for basic functions#48669

Closed
zhengruifeng wants to merge 5 commits intoapache:masterfrom
zhengruifeng:py_doc_1
Closed

[SPARK-50138][PYTHON][DOCS][TESTS] Refine docstring for basic functions#48669
zhengruifeng wants to merge 5 commits intoapache:masterfrom
zhengruifeng:py_doc_1

Conversation

@zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Refine the docstring for basic functions

Why are the changes needed?

1, make example copy-pasteable;
2, clarify str is a column name or literal string;
3, show both the input columns and output columns, to make the projection more clear;
4, improve the test coverage by adding more doctests;

Does this PR introduce any user-facing change?

doc change

How was this patch tested?

ci

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

no

@HyukjinKwon
Copy link
Member

Merged to master.

@zhengruifeng zhengruifeng deleted the py_doc_1 branch October 27, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants