Getting Started
User Guide
API Reference
Development
Migration Guide
Spark SQL
Core Classes
Spark Session
Configuration
Input/Output
DataFrame
Column
Data Types
Row
Functions
Window
Grouping
Catalog
Observation
Avro
Pandas API on Spark
Structured Streaming
MLlib (DataFrame-based)
Spark Streaming
MLlib (RDD-based)
Spark Core
Resource Management
pyspark.sql.DataFrame.to_pandas_on_spark
¶
DataFrame.
to_pandas_on_spark
(
index_col
:
Union[str, List[str], None]
=
None
)
→ PandasOnSparkDataFrame
[source]
¶
pyspark.sql.DataFrame.toPandas
pyspark.sql.DataFrame.transform