Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Add annotation for DataFrame.transform
Browse files Browse the repository at this point in the history
  • Loading branch information
zero323 committed Jul 18, 2019
1 parent 979690a commit 4a1da21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions third_party/3/pyspark/sql/dataframe.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class DataFrame:
def drop(self, *cols: ColumnOrName) -> DataFrame: ...
def toDF(self, *cols: ColumnOrName) -> DataFrame: ...
def toPandas(self) -> pandas.core.frame.DataFrame: ...
def transform(self, func: Callable[[DataFrame], DataFrame]) -> DataFrame: ...
@overload
def groupby(self, *cols: ColumnOrName) -> DataFrame: ...
@overload
Expand Down

0 comments on commit 4a1da21

Please sign in to comment.