Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50352][PYTHON][DOCS] Refine docstrings for window/aggregation …
…functions - part 3 ### What changes were proposed in this pull request? Refine docstrings for window/aggregation functions: 1, make examples copy-pasteable; 2, specify the meaning of str input: either column name or literal string; 3, show both input and output columns; 4, add see also section for related functions; ### Why are the changes needed? 1, improve the documentation; 2, improve the doctest coverage; ### Does this PR introduce _any_ user-facing change? doc changes ### How was this patch tested? updated doctests ### Was this patch authored or co-authored using generative AI tooling? no Closes #48891 from zhengruifeng/py_doc_5. Authored-by: Ruifeng Zheng <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
- Loading branch information