Description
e.g.):
+++ 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
to be consistent. In Python, it's idiomatic to don't specify the return for return None.
Attachments
Issue Links
- Is contained by
-
SPARK-42863 Review and fix issues in PySpark API docs
- Resolved
- links to