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

Method broadcastable_col

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

Source from the content-addressed store, hash-verified

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)
208
209 # Test comparison between arr and a like-shap 2D array, a column
210 # vector, and a row vector.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected