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

Function generate_col_names

python/pyarrow/tests/test_json.py:37–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36
37def generate_col_names():
38 # 'a', 'b'... 'z', then 'aa', 'ab'...
39 letters = string.ascii_lowercase
40 yield from letters
41 for first in letters:
42 for second in letters:
43 yield first + second
44
45
46def make_random_json(num_cols=2, num_rows=10, linesep='\r\n'):

Callers 1

make_random_jsonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected