MCPcopy Index your code
hub / github.com/numpy/numpy / encode_unicode_cols

Function encode_unicode_cols

numpy/lib/_npyio_impl.py:2364–2368  ·  view source on GitHub ↗
(row_tup)

Source from the content-addressed store, hash-verified

2362 np.exceptions.VisibleDeprecationWarning, stacklevel=2)
2363
2364 def encode_unicode_cols(row_tup):
2365 row = list(row_tup)
2366 for i in strcolidx:
2367 row[i] = row[i].encode('latin1')
2368 return tuple(row)
2369
2370 try:
2371 data = [encode_unicode_cols(r) for r in data]

Callers 1

genfromtxtFunction · 0.85

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…