pyspark.sql.DataFrameWriterV2.option

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

Add a write option.

New in version 3.1.