zhengruifeng opened a new pull request, #48891: URL: https://github.com/apache/spark/pull/48891
### 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 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
