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

Function check_col

pandas/tests/io/pytables/test_append.py:358–362  ·  view source on GitHub ↗
(key, name, size)

Source from the content-addressed store, hash-verified

356
357def test_append_with_strings(temp_hdfstore):
358 def check_col(key, name, size):
359 assert (
360 getattr(temp_hdfstore.get_storer(key).table.description, name).itemsize
361 == size
362 )
363
364 # avoid truncation on elements
365 df = DataFrame([[123, "asdqwerty"], [345, "dggnhebbsdfbdfb"]])

Callers 3

test_append_with_stringsFunction · 0.85

Calls 1

get_storerMethod · 0.80

Tested by

no test coverage detected