Hyukjin Kwon created SPARK-62115:
------------------------------------
Summary: Give the Connect DataFrame and the classic
pyspark.sql.DataFrame PySpark's docstrings as help() shows them
Key: SPARK-62115
URL: https://issues.apache.org/jira/browse/SPARK-62115
Project: Spark
Issue Type: Improvement
Components: Connect
Affects Versions: 5.0.0
Reporter: Hyukjin Kwon
help() and inspect.getdoc of the Connect DataFrame of the Python client
(pyspark-client-rust), and of the classic pyspark.sql.DataFrame and its na and
stat classes, do not show PySpark's docstrings. In pyspark-client 4.3.0 the
native members show the docstrings of the classic classes, through inheritance,
and the modules have PySpark's module docstrings.
Expected: the DataFrame class of pyspark.sql.connect.dataframe, the classic
public base in pyspark/sql/dataframe.py, the two module docstrings and the
classic copies of the Na and Stat members carry PySpark's docstrings, as help()
shows them in pyspark-client 4.3.0, which the runtime docstring golden then
covers.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]