spark-instrumented-optimizer/python/docs/source
dgd-contributor 9b262e722d [SPARK-36401][PYTHON] Implement Series.cov
### What changes were proposed in this pull request?

Implement Series.cov

### Why are the changes needed?

That is supported in pandas. We should support that as well.

### Does this PR introduce _any_ user-facing change?

Yes. Series.cov can be used.

```python
>>> from pyspark.pandas.config import set_option, reset_option
>>> set_option("compute.ops_on_diff_frames", True)
>>> s1 = ps.Series([0.90010907, 0.13484424, 0.62036035])
>>> s2 = ps.Series([0.12528585, 0.26962463, 0.51111198])
>>> s1.cov(s2)
-0.016857626527158744
>>> reset_option("compute.ops_on_diff_frames")
```

### How was this patch tested?

Unit tests

Closes #33752 from dgd-contributor/SPARK-36401_Implement_Series.cov.

Authored-by: dgd-contributor <dgd_contributor@viettel.com.vn>
Signed-off-by: Takuya UESHIN <ueshin@databricks.com>
2021-09-03 10:41:27 -07:00
..
_static Spelling r common dev mlib external project streaming resource managers python 2020-11-27 10:22:45 -06:00
_templates/autosummary Spelling r common dev mlib external project streaming resource managers python 2020-11-27 10:22:45 -06:00
development [SPARK-35644][PYTHON][DOCS] Merge contents and remove obsolete pages in Development section 2021-06-17 13:35:20 +09:00
getting_started [SPARK-35588][PYTHON][DOCS] Merge Binder integration and quickstart notebook for pandas API on Spark 2021-06-24 10:17:22 +09:00
migration_guide [SPARK-35301][PYTHON][DOCS] Document migration guide from Koalas to pandas APIs on Spark 2021-06-24 17:58:09 +09:00
reference [SPARK-36401][PYTHON] Implement Series.cov 2021-09-03 10:41:27 -07:00
user_guide [SPARK-36621][PYTHON][DOCS] Add Apache license headers to Pandas API on Spark documents 2021-09-02 12:35:39 +09:00
conf.py [SPARK-35588][PYTHON][DOCS] Merge Binder integration and quickstart notebook for pandas API on Spark 2021-06-24 10:17:22 +09:00
index.rst [SPARK-35750][PYTHON][DOCS] Rename "pandas APIs on Spark" to "pandas API on Spark" 2021-06-15 10:01:04 +09:00