Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ random_ascii
Function
random_ascii
python/pyarrow/tests/util.py:112–113 ·
view source on GitHub ↗
(length)
Source
from the content-addressed store, hash-verified
110
111
112
def
random_ascii(length):
113
return
bytes([random.randint(65, 122)
for
i in range(length)])
114
115
116
def
rands(nchars):
Callers
2
test_strided_data_import
Method · 0.90
random_strings
Function · 0.90
Calls
1
bytes
Function · 0.85
Tested by
2
test_strided_data_import
Method · 0.72
random_strings
Function · 0.72