MCPcopy Create free account
hub / github.com/apache/arrow / read_bytes

Method read_bytes

python/pyarrow/tests/test_json.py:132–138  ·  view source on GitHub ↗

:param b: bytes to be parsed :param kwargs: arguments passed on to open the json file :return: b parsed as a single Table

(self, b, **kwargs)

Source from the content-addressed store, hash-verified

130class BaseTestJSON(abc.ABC):
131 @abc.abstractmethod
132 def read_bytes(self, b, **kwargs):
133 """
134 :param b: bytes to be parsed
135 :param kwargs: arguments passed on to open the json file
136 :return: b parsed as a single Table
137 """
138 raise NotImplementedError
139
140 def check_names(self, table, names):
141 assert table.num_columns == len(names)

Callers 12

test_block_sizesMethod · 0.95
test_simple_intsMethod · 0.95
test_simple_variedMethod · 0.95
test_simple_nullsMethod · 0.95
test_empty_listsMethod · 0.95
test_empty_rowsMethod · 0.95
test_load_large_jsonMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected