We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91d8473 commit 258bae4Copy full SHA for 258bae4
python/pyspark/sql/dataframe.py
@@ -896,7 +896,7 @@ def colRegex(self, colName):
896
def alias(self, alias):
897
"""Returns a new :class:`DataFrame` with an alias set.
898
899
- :param alias: string, alias names to be set for the DataFrame.
+ :param alias: string, an alias name to be set for the DataFrame.
900
901
>>> from pyspark.sql.functions import *
902
>>> df_as1 = df.alias("df_as1")
0 commit comments