Skip to content

Commit

Permalink
Incorporate feedback from review
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Grund <grundprinzip@gmail.com>
  • Loading branch information
ianmcook and grundprinzip authored May 7, 2024
1 parent 516fad6 commit 026374d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/sql/connect/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,7 @@ def _to_table(self) -> Tuple["pa.Table", Optional[StructType]]:
return (table, schema)

def _toArrow(self) -> "pa.Table":
table = self._to_table()[0]
table, _ = self._to_table()
return table

def toPandas(self) -> "PandasDataFrameLike":
Expand Down

0 comments on commit 026374d

Please sign in to comment.