HyukjinKwon commented on code in PR #48513:
URL: https://github.com/apache/spark/pull/48513#discussion_r1804174312
##########
python/pyspark/pandas/plot/core.py:
##########
@@ -857,13 +857,12 @@ def box(self, precision=0.01, **kwds):
Parameters
----------
- precision: scalar, default = 0.01
- This argument is used by pandas-on-Spark to compute approximate
statistics
- for building a boxplot. Use *smaller* values to get more precise
- statistics.
**kwds : optional
Additional keyword arguments are documented in
:meth:`pyspark.pandas.Series.plot`.
+ One of the optional keyword arguments is `precision`, a float that
is used by
Review Comment:
Let's probably follow numpydoc's kwargs style
(https://numpydoc.readthedocs.io/en/latest/format.html#parameters)
```
Additional arguments should be passed as keyword arguments
**kwargs : dict, optional
Extra arguments to `metric`: refer to each metric documentation for a
list of all possible arguments.
```
--
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]