[ https://issues.apache.org/jira/browse/SPARK-42903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-42903: --------------------------------- Priority: Trivial (was: Major) > Avoid documenting None as as a return value in docstring > -------------------------------------------------------- > > Key: SPARK-42903 > URL: https://issues.apache.org/jira/browse/SPARK-42903 > Project: Spark > Issue Type: Documentation > Components: PySpark > Affects Versions: 3.4.0 > Reporter: Hyukjin Kwon > Priority: Trivial > > e.g.): > {code} > +++ b/python/pyspark/sql/dataframe.py > @@ -385,10 +385,6 @@ class DataFrame(PandasMapOpsMixin, > PandasConversionMixin): > name : str > Name of the view. > - Returns > - ------- > - None > - > Examples > -------- > Create a local temporary view named 'people'. > @@ -426,10 +422,6 @@ class DataFrame(PandasMapOpsMixin, > PandasConversionMixin): > name : str > Name of the view. > - Returns > - ------- > - None > - > Examples > -------- > Create a global temporary view. > @@ -467,10 +459,6 @@ class DataFrame(PandasMapOpsMixin, > PandasConversionMixin): > name : str > Name of the view. > - Returns > - ------- > - None > {code} > to be consistent. In Python, it's idiomatic to don't specify the return for > return None. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org