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

Function _get_root

pandas/_config/config.py:668–673  ·  view source on GitHub ↗
(key: str)

Source from the content-addressed store, hash-verified

666
667
668def _get_root(key: str) -> tuple[dict[str, Any], str]:
669 path = key.split(".")
670 cursor = _global_config
671 for p in path[:-1]:
672 cursor = cursor[p]
673 return cursor, path[-1]
674
675
676def _get_deprecated_option(key: str):

Callers 2

get_optionFunction · 0.85
set_optionFunction · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected