-
class pandas.option_context(*args)
[source] -
Context manager to temporarily set options in the
with
statement context.You need to invoke as
option_context(pat, val, [(pat, val), ...])
.Examples
>>> with option_context('display.max_rows', 10, 'display.max_columns', 5): ...
option_context()

2025-01-10 15:47:30
Please login to continue.