pyspark.pandas.set_option#

pyspark.pandas.set_option(key, value, *, spark_session=None)[source]#

Sets the value of the specified option.

Parameters
keystr

The key which should match a single option.

valueobject

New value of option. The value should be JSON serializable.

spark_sessionSparkSession, optional

The explicit SparkSession object to set the option. If not specified, the default session will be used.

Returns
None