Skip to content

Conversation

@sinhrks
Copy link
Member

@sinhrks sinhrks commented Jul 26, 2016

A root cause is isnull raises TypeError if datetime-like has other time unit than ns.

pd.isnull(np.array([1, 2], dtype='datetime64[D]'))
# TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

@sinhrks sinhrks added Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Timedelta Timedelta data type labels Jul 26, 2016
@sinhrks sinhrks added this to the 0.19.0 milestone Jul 26, 2016
@codecov-io
Copy link

Current coverage is 85.23% (diff: 100%)

Merging #13802 into master will decrease coverage by <.01%

@@             master     #13802   diff @@
==========================================
  Files           140        140          
  Lines         50415      50415          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits          42970      42969     -1   
- Misses         7445       7446     +1   
  Partials          0          0          

Powered by Codecov. Last update 98c5b88...8dbfde2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Timedelta Timedelta data type

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: TypeError in merge with timedelta64 column

2 participants