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
TypeError: cannot astype a datetimelike from [datetime64[ns]] to [bool]
If you get this frame as a fillna output (not possible on master, but possible in the feature branch I am working on), it will raise this same error when passed through _com_method_FRAME, due to:
The text was updated successfully, but these errors were encountered:
ResidentMario
changed the title
[BUG] Exception to the boolean frame comparison guarantee
BUG: Exception to the boolean frame comparison guarantee
Apr 26, 2017
The implementation for
core._com_method_FRAME
makes the following note:However, I think I stumbled on an exception here.
The root cause is that
astype(bool)
has a "hole" in it in the case ofdatetime
dtypes. The following:Raises:
If you get this frame as a
fillna
output (not possible on master, but possible in the feature branch I am working on), it will raise this same error when passed through_com_method_FRAME
, due to:This is a problem in PR#15653.
The text was updated successfully, but these errors were encountered: