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

Method get_storer

pandas/io/pytables.py:1678–1686  ·  view source on GitHub ↗

return the storer object for a key, raise if not in the file

(self, key: str)

Source from the content-addressed store, hash-verified

1676 return node
1677
1678 def get_storer(self, key: str) -> GenericFixed | Table:
1679 """return the storer object for a key, raise if not in the file"""
1680 group = self.get_node(key)
1681 if group is None:
1682 raise KeyError(f"No object named {key} in the file")
1683
1684 s = self._create_storer(group)
1685 s.infer_axes()
1686 return s
1687
1688 def copy(
1689 self,

Callers 15

select_as_coordinatesMethod · 0.95
select_columnMethod · 0.95
select_as_multipleMethod · 0.95
removeMethod · 0.95
create_table_indexMethod · 0.95
copyMethod · 0.95
infoMethod · 0.95
test_multiple_open_closeFunction · 0.95
test_format_typeFunction · 0.80
test_api_default_formatFunction · 0.80

Calls 3

get_nodeMethod · 0.95
_create_storerMethod · 0.95
infer_axesMethod · 0.80

Tested by 10

test_multiple_open_closeFunction · 0.76
test_format_typeFunction · 0.64
test_api_default_formatFunction · 0.64
test_repr_get_storerFunction · 0.64
colFunction · 0.64
test_copyFunction · 0.64
check_colFunction · 0.64