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
This results in an AttributeError since the function BlockManager.make_empty initialises df._data.blocks with a numpy array object instead of an empty list. Thus subsequent calls to blocks.pop and blocks.append fail.
I have a patch coming up.
The text was updated successfully, but these errors were encountered:
@filmor thanks for reporting......BlockManager does not have a dtype. BUT SingleBlockManager provides the property to refer to the dtype of its single block (its the implementation for a series)
The following line illustrates the problem:
This results in an
AttributeError
since the functionBlockManager.make_empty
initialisesdf._data.blocks
with a numpy array object instead of an empty list. Thus subsequent calls toblocks.pop
andblocks.append
fail.I have a patch coming up.
The text was updated successfully, but these errors were encountered: