HyukjinKwon commented on a change in pull request #33054: URL: https://github.com/apache/spark/pull/33054#discussion_r658387506
########## File path: python/pyspark/sql/dataframe.pyi ########## @@ -267,6 +269,7 @@ class DataFrame(PandasMapOpsMixin, PandasConversionMixin): def semanticHash(self) -> int: ... def inputFiles(self) -> List[str]: ... def writeTo(self, table: str) -> DataFrameWriterV2: ... + def to_pandas_on_spark(self, index_col: None) -> PandasOnSparkDataFrame: ... Review comment: `Optional[Union[str, List[str]]] = None`? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org