You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2023/06/07 11:58:00 UTC
[spark] branch master updated: [MINOR][PS][DOCS] Add `DataFrame.{from_dict, to_orc}` to API references
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new e5b006f89d9 [MINOR][PS][DOCS] Add `DataFrame.{from_dict, to_orc}` to API references
e5b006f89d9 is described below
commit e5b006f89d9e4a50d00e78ba03f2866fde12abb1
Author: Ruifeng Zheng <ru...@apache.org>
AuthorDate: Wed Jun 7 20:57:43 2023 +0900
[MINOR][PS][DOCS] Add `DataFrame.{from_dict, to_orc}` to API references
### What changes were proposed in this pull request?
Add `DataFrame.{from_dict, to_orc}` to API references
Move `DataFrame.info` to attributes according to https://pandas.pydata.org/docs/reference/frame.html#attributes-and-underlying-data
### Why are the changes needed?
add missing doc
### Does this PR introduce _any_ user-facing change?
yes, doc updated
### How was this patch tested?
CI and manually check
Closes #41492 from zhengruifeng/doc_frame_missing_io.
Authored-by: Ruifeng Zheng <ru...@apache.org>
Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
python/docs/source/reference/pyspark.pandas/frame.rst | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/python/docs/source/reference/pyspark.pandas/frame.rst b/python/docs/source/reference/pyspark.pandas/frame.rst
index 4ab0ea199be..a8d114187b9 100644
--- a/python/docs/source/reference/pyspark.pandas/frame.rst
+++ b/python/docs/source/reference/pyspark.pandas/frame.rst
@@ -37,6 +37,7 @@ Attributes and underlying data
:toctree: api/
DataFrame.index
+ DataFrame.info
DataFrame.columns
DataFrame.empty
@@ -272,13 +273,14 @@ Serialization / IO / Conversion
.. autosummary::
:toctree: api/
+ DataFrame.from_dict
DataFrame.from_records
- DataFrame.info
DataFrame.to_table
DataFrame.to_delta
DataFrame.to_parquet
DataFrame.to_spark_io
DataFrame.to_csv
+ DataFrame.to_orc
DataFrame.to_pandas
DataFrame.to_html
DataFrame.to_numpy
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org