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

Commit

Permalink
Add missing acceptable types to sql.DataFrame (#399)
Browse files Browse the repository at this point in the history
See https://github.com/apache/spark/blob/branch-3.0/python/pyspark/sql/dataframe.py#L1369-L1371 for additional acceptable types.

Co-authored-by: Maciej <zero323@users.noreply.github.com>
  • Loading branch information
radeklat and zero323 committed Apr 28, 2020
1 parent 13f4958 commit 5f10c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/3/pyspark/sql/dataframe.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class DataFrame:
@overload
def head(self, n: int) -> List[Row]: ...
def first(self) -> Row: ...
def __getitem__(self, item: Union[int, str]) -> Column: ...
def __getitem__(self, item: Union[int, str, Column, List, Tuple]) -> Column: ...
def __getattr__(self, name: str) -> Column: ...
@overload
def select(self, *cols: ColumnOrName) -> DataFrame: ...
Expand Down

0 comments on commit 5f10c18

Please sign in to comment.