Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/numpy/numpy
/ write
Method
write
numpy/lib/tests/test_io.py:54–55 ·
view source on GitHub ↗
(self, s)
Source
from the content-addressed store, hash-verified
52
BytesIO.__init__(self, asbytes(s))
53
54
def
write(self, s):
55
BytesIO.write(self, asbytes(s))
56
57
def
writelines(self, lines):
58
BytesIO.writelines(self, [asbytes(s)
for
s in lines])
Callers
15
test_converters_decode
Method · 0.95
test_record
Method · 0.95
test_array
Method · 0.95
test_1D
Method · 0.95
test_missing
Method · 0.95
test_converters_with_usecols
Method · 0.95
test_comments_unicode
Method · 0.95
test_comments_byte
Method · 0.95
test_comments_multiple
Method · 0.95
test_comments_multi_chars
Method · 0.95
test_skiprows
Method · 0.95
test_fancy_dtype
Method · 0.95
Calls
1
asbytes
Function · 0.90
Tested by
no test coverage detected