MCPcopy
hub / github.com/pandas-dev/pandas / OptionError

Class OptionError

pandas/_config/config.py:103–120  ·  view source on GitHub ↗

Exception raised for pandas.options. Backwards compatible with KeyError checks. See Also -------- options : Access and modify global pandas settings. Examples -------- >>> pd.options.context Traceback (most recent call last): OptionError: No such option

Source from the content-addressed store, hash-verified

101
102
103class OptionError(AttributeError, KeyError):
104 """
105 Exception raised for pandas.options.
106
107 Backwards compatible with KeyError checks.
108
109 See Also
110 --------
111 options : Access and modify global pandas settings.
112
113 Examples
114 --------
115 >>> pd.options.context
116 Traceback (most recent call last):
117 OptionError: No such option
118 """
119
120 __module__ = "pandas.errors"
121
122
123#

Callers 7

_get_single_keyFunction · 0.85
describe_optionFunction · 0.85
reset_optionFunction · 0.85
__setattr__Method · 0.85
__getattr__Method · 0.85
register_optionFunction · 0.85
deprecate_optionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected