diff options
author | Davies Liu <davies@databricks.com> | 2015-02-24 20:51:55 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-02-24 20:51:55 -0800 |
commit | d641fbb39c90b1d734cc55396ca43d7e98788975 (patch) | |
tree | d9741f7c08d6ba288b224e8c2af60fc1bdb445f3 /python/pyspark/sql/functions.py | |
parent | 769e092bdc51582372093f76dbaece27149cc4ea (diff) | |
download | spark-d641fbb39c90b1d734cc55396ca43d7e98788975.tar.gz spark-d641fbb39c90b1d734cc55396ca43d7e98788975.tar.bz2 spark-d641fbb39c90b1d734cc55396ca43d7e98788975.zip |
[SPARK-5994] [SQL] Python DataFrame documentation fixes
select empty should NOT be the same as select. make sure selectExpr is behaving the same.
join param documentation
link to source doesn't work in jekyll generated file
cross reference of columns (i.e. enabling linking)
show(): move df example before df.show()
move tests in SQLContext out of docstring otherwise doc is too long
Column.desc and .asc doesn't have any documentation
in documentation, sort functions.*)
Author: Davies Liu <davies@databricks.com>
Closes #4756 from davies/df_docs and squashes the following commits:
f30502c [Davies Liu] fix doc
32f0d46 [Davies Liu] fix DataFrame docs
Diffstat (limited to 'python/pyspark/sql/functions.py')
-rw-r--r-- | python/pyspark/sql/functions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/pyspark/sql/functions.py b/python/pyspark/sql/functions.py index 8aa4476520..5873f09ae3 100644 --- a/python/pyspark/sql/functions.py +++ b/python/pyspark/sql/functions.py @@ -72,6 +72,7 @@ for _name, _doc in _functions.items(): globals()[_name] = _create_function(_name, _doc) del _name, _doc __all__ += _functions.keys() +__all__.sort() def countDistinct(col, *cols): |