GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/17737
[SPARK-20442][PYTHON][DOCS] Fill up documentations for functions in Column
API in PySpark
## What changes were proposed in this pull request?
This PR proposes to fill up the documentation with examples for
`bitwiseOR`, `bitwiseAND`, `bitwiseXOR`. `contains`, `asc`, `desc` in `Column`
API.
Also, this PR fixes minor types in the documentation and matches some of
the contents between Scala doc and Python doc.
Lastly, this PR suggest to use `spark` rather than `sc` in doc tests.
## How was this patch tested?
Doc tests were added and manually tested with the commands below:
`./python/run-tests.py --module pyspark-sql`
`./dev/lint-python`
Output was checked via `make html` under `./python/docs`. The snapshots
will be left on the codes with comments.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark SPARK-20442
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17737.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #17737
----
commit bb5de1f2ef66a4775c8d8bc4f632535d45b3f0b4
Author: hyukjinkwon <[email protected]>
Date: 2017-04-24T01:48:06Z
Fill up documentations for functions in Column API in PySpark
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]