PySpark referenceClassesDataFrameWriterV2optionOn this pageoption (DataFrameWriterV2) Adds a write option for the underlying data source. Syntax option(key, value) Parameters ParameterTypeDescriptionkeystrThe option key.valuestr, int, float, or boolThe option value. Returns DataFrameWriterV2