pyspark.sql.DataFrameWriter.option

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

Adds an output option for the underlying data source.