3d158f9c91
### What changes were proposed in this pull request? This PR proposes to port Koalas documentation to PySpark documentation as its initial step. It ports almost as is except these differences: - Renamed import from `databricks.koalas` to `pyspark.pandas`. - Renamed `to_koalas` -> `to_pandas_on_spark` - Renamed `(Series|DataFrame).koalas` -> `(Series|DataFrame).pandas_on_spark` - Added a `ps_` prefix in the RST file names of Koalas documentation Other then that, - Excluded `python/docs/build/html` in linter - Fixed GA dependency installataion ### Why are the changes needed? To document pandas APIs on Spark. ### Does this PR introduce _any_ user-facing change? Yes, it adds new documentations. ### How was this patch tested? Manually built the docs and checked the output. Closes #32726 from HyukjinKwon/SPARK-35587. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
32 lines
731 B
ReStructuredText
32 lines
731 B
ReStructuredText
======
|
|
Window
|
|
======
|
|
.. currentmodule:: pyspark.pandas.window
|
|
|
|
Rolling objects are returned by ``.rolling`` calls: :func:`pandas_on_spark.DataFrame.rolling`, :func:`pandas_on_spark.Series.rolling`, etc.
|
|
Expanding objects are returned by ``.expanding`` calls: :func:`pandas_on_spark.DataFrame.expanding`, :func:`pandas_on_spark.Series.expanding`, etc.
|
|
|
|
Standard moving window functions
|
|
--------------------------------
|
|
|
|
.. autosummary::
|
|
:toctree: api/
|
|
|
|
Rolling.count
|
|
Rolling.sum
|
|
Rolling.min
|
|
Rolling.max
|
|
Rolling.mean
|
|
|
|
Standard expanding window functions
|
|
-----------------------------------
|
|
|
|
.. autosummary::
|
|
:toctree: api/
|
|
|
|
Expanding.count
|
|
Expanding.sum
|
|
Expanding.min
|
|
Expanding.max
|
|
Expanding.mean
|