Skip to content

Conversation

@jcrist
Copy link
Contributor

@jcrist jcrist commented Apr 13, 2015

Added support for datetime64 value for Period. Fixes #9054.

@jreback jreback added Bug Period Period data type labels Apr 13, 2015
@jreback jreback added this to the 0.16.1 milestone Apr 13, 2015
Copy link
Contributor

Choose a reason for hiding this comment

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

can you add a couple of more tests that have different numpy units,

e.g.

In [3]: np.datetime64('2007-01-01 00:00:00',dtype='M8[s]').dtype
Out[3]: dtype('<M8[s]')

@jreback
Copy link
Contributor

jreback commented Apr 13, 2015

pls add a release note as wel, looks good otherwise.

@cpcloud
Copy link
Member

cpcloud commented Apr 13, 2015

+1, will be awhile for travis, lots of PRs today :)

@jreback
Copy link
Contributor

jreback commented Apr 13, 2015

can you squash into a single commit. pls ping when done.

Added support for `datetime64` value for Period. Fixes pandas-dev#9054.
@jcrist
Copy link
Contributor Author

jcrist commented Apr 13, 2015

@jreback : squashed.

@cpcloud
Copy link
Member

cpcloud commented Apr 14, 2015

closing in favor of #9896

@cpcloud cpcloud closed this Apr 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Period Period data type

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENH: Period to accept datetime64 value?

3 participants