MCPcopy
hub / github.com/quantopian/zipline / as_string_array

Method as_string_array

zipline/lib/labelarray.py:319–325  ·  view source on GitHub ↗

Convert self back into an array of strings. This is an O(N) operation.

(self)

Source from the content-addressed store, hash-verified

317 )
318
319 def as_string_array(self):
320 """
321 Convert self back into an array of strings.
322
323 This is an O(N) operation.
324 """
325 return self.categories[self.as_int_array()]
326
327 def as_categorical(self):
328 """

Callers 13

methodMethod · 0.95
astypeMethod · 0.95
__repr__Method · 0.95
__setitem__Method · 0.80
labelarray_whereFunction · 0.80
check_arraysFunction · 0.80
test_mapMethod · 0.80
test_setitem_scalarMethod · 0.80

Calls 1

as_int_arrayMethod · 0.95