You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to simplify some things in internals. I expected that it would always be the case that len(block) == block.shape[0], but shape is flipped in a few cases.
So for Block len(b) == b.shape[0], 1-dim NonConsolidatable (and ScalarBlock) behave as expected, but 2-dim have len(b) == b.shape[1]. Ditto SparseBlock (a try/except notwithstanding).
What's the internal logic here?
The text was updated successfully, but these errors were encountered:
Trying to simplify some things in internals. I expected that it would always be the case that
len(block) == block.shape[0]
, butshape
is flipped in a few cases.So for Block
len(b) == b.shape[0]
, 1-dim NonConsolidatable (and ScalarBlock) behave as expected, but 2-dim havelen(b) == b.shape[1]
. DittoSparseBlock
(a try/except notwithstanding).What's the internal logic here?
The text was updated successfully, but these errors were encountered: