Getting Started
User Guide
API Reference
Development
Migration Guide
Spark SQL
Pandas API on Spark
Structured Streaming
MLlib (DataFrame-based)
Spark Streaming
MLlib (RDD-based)
Spark Core
Resource Management
pyspark.sql.DataFrameWriter.option
¶
DataFrameWriter.
option
(
key
,
value
)
[source]
¶
Adds an output option for the underlying data source.
New in version 1.5.
pyspark.sql.DataFrameWriter.mode
pyspark.sql.DataFrameWriter.options