pyspark.sql.DataFrameWriter.option

DataFrameWriter.option(key, value)[source]

Adds an output option for the underlying data source.

New in version 1.5.