Skip to content

Commit 258bae4

Browse files
authored
Update dataframe.py
grammar
1 parent 91d8473 commit 258bae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ def colRegex(self, colName):
896896
def alias(self, alias):
897897
"""Returns a new :class:`DataFrame` with an alias set.
898898
899-
:param alias: string, alias names to be set for the DataFrame.
899+
:param alias: string, an alias name to be set for the DataFrame.
900900
901901
>>> from pyspark.sql.functions import *
902902
>>> df_as1 = df.alias("df_as1")

0 commit comments

Comments
 (0)