pyspark.sql.DataFrame.to_pandas_on_spark

DataFrame.to_pandas_on_spark(index_col: Union[str, List[str], None] = None) → PandasOnSparkDataFrame[source]