Skip to content

Conversation

@jbrockmendel
Copy link
Member

Preliminary 2/3 for fixing #28080.

return result

elif is_array(other):
if other.dtype.kind in ['i', 'u']:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just use is_integer_dtype here instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the pattern we use in the cython code

@WillAyd WillAyd added the Datetime Datetime data dtype label Aug 27, 2019
@jreback jreback added this to the 1.0 milestone Sep 2, 2019
@jreback
Copy link
Contributor

jreback commented Sep 2, 2019

lgtm. @WillAyd

@WillAyd WillAyd merged commit 30fb087 into pandas-dev:master Sep 2, 2019
@WillAyd
Copy link
Member

WillAyd commented Sep 2, 2019

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the nfe3 branch September 2, 2019 22:54
MarcoGorelli pushed a commit to MarcoGorelli/pandas that referenced this pull request Sep 3, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Datetime Datetime data dtype

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants