Skip to content

Commit 367d206

Browse files
kirisakowzhengruifeng
authored andcommitted
[MINOR][PYTHON][DOCS] Fix a typo in pyspark documentation
### What changes were proposed in this pull request? This PR aims to fix a minor typo in PySpark documentation. ### Why are the changes needed? ... ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Pass Github Actions ### Was this patch authored or co-authored using generative AI tooling? No. Closes #50492 from kirisakow/patch-20250402-fix-typo-in-pyspark-doc. Authored-by: Kiril Isakov <[email protected]> Signed-off-by: Ruifeng Zheng <[email protected]>
1 parent cba9454 commit 367d206

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
@@ -5935,7 +5935,7 @@ def drop(self, *cols: "ColumnOrName") -> "DataFrame":
59355935

59365936
@dispatch_df_method
59375937
def toDF(self, *cols: str) -> "DataFrame":
5938-
"""Returns a new :class:`DataFrame` that with new specified column names
5938+
"""Returns a new :class:`DataFrame` with new specified column names
59395939
59405940
.. versionadded:: 1.6.0
59415941

0 commit comments

Comments
 (0)