Skip to main content

option (DataFrameWriterV2)

Adds a write option for the underlying data source.

For available options, see DataFrameWriter options.

Syntax

option(key, value)

Parameters

Parameter

Type

Description

key

str

The option key.

value

str, int, float, or bool

The option value.

Returns

DataFrameWriterV2