MCPcopy
hub / github.com/huggingface/datasets / test_table_field

Function test_table_field

tests/test_table.py:175–178  ·  view source on GitHub ↗
(in_memory_pa_table)

Source from the content-addressed store, hash-verified

173
174
175def test_table_field(in_memory_pa_table):
176 assert "tokens" in in_memory_pa_table.column_names
177 table = Table(in_memory_pa_table)
178 assert table.field("tokens") == in_memory_pa_table.field("tokens")
179
180
181def test_table_column(in_memory_pa_table):

Callers

nothing calls this directly

Calls 2

fieldMethod · 0.95
TableClass · 0.90

Tested by

no test coverage detected