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

Function _tables

pandas/io/pytables.py:241–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239
240
241def _tables():
242 global _table_mod
243 global _table_file_open_policy_is_strict
244 if _table_mod is None:
245 import tables
246
247 _table_mod = tables
248
249 # set the file open policy
250 # return the file open policy; this changes as of pytables 3.1
251 # depending on the HDF5 version
252 with suppress(AttributeError):
253 _table_file_open_policy_is_strict = (
254 tables.file._FILE_OPEN_POLICY == "strict"
255 )
256
257 return _table_mod
258
259
260# interface to/from ###

Callers 15

openMethod · 0.85
create_table_indexMethod · 0.85
groupsMethod · 0.85
walkMethod · 0.85
_create_storerMethod · 0.85
maybe_set_sizeMethod · 0.85
_get_atomMethod · 0.85
get_atom_stringMethod · 0.85
get_atom_coltypeMethod · 0.85
get_atom_datetime64Method · 0.85
get_atom_timedelta64Method · 0.85
get_atom_stringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected