MCPcopy Create free account
hub / github.com/quantopian/zipline / broadcastable_row

Method broadcastable_row

tests/test_labelarray.py:203–204  ·  view source on GitHub ↗
(value, dtype)

Source from the content-addressed store, hash-verified

201 check_arrays(strs != arr, np.zeros_like(strs, dtype=bool))
202
203 def broadcastable_row(value, dtype):
204 return np.full((shape[0], 1), value, dtype=strs.dtype)
205
206 def broadcastable_col(value, dtype):
207 return np.full((1, shape[1]), value, dtype=strs.dtype)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected