pyspark.sql.DataFrameWriter.option

DataFrameWriter.option(key: str, value: OptionalPrimitiveType) → DataFrameWriter[source]

Adds an output option for the underlying data source.

New in version 1.5.