We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3da2c1c commit deafcf7Copy full SHA for deafcf7
pandas/_config/config.py
@@ -433,6 +433,11 @@ def option_context(*args) -> Generator[None]:
433
"""
434
Context manager to temporarily set options in a ``with`` statement.
435
436
+ This method allows users to set one or more pandas options temporarily
437
+ within a controlled block. The previous options' values are restored
438
+ once the block is exited. This is useful when making temporary adjustments
439
+ to pandas' behavior without affecting the global state.
440
+
441
Parameters
442
----------
443
*args : str | object
0 commit comments