pyspark.pandas.reset_option#

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

Reset one option to their default value.

Pass “all” as an argument to reset all options.

Parameters
keystr

If specified only option will be reset.

spark_sessionSparkSession, optional

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

Returns
None