Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: groupby with datetime and cythonized functions regression from 0.12 #5869

Closed
jreback opened this issue Jan 7, 2014 · 0 comments · Fixed by #5870

Comments

@jreback
Copy link
Contributor

commented Jan 7, 2014

In [30]: DataFrame(dict(A = Timestamp('20130101'), B = np.arange(5))).groupby('A')['A'].max()
Out[30]: 
A
2013-01-01    1356998400000000000
Name: A, dtype: int64

should match

In [31]: DataFrame(dict(A = Timestamp('20130101'), B = np.arange(5))).groupby('A')['A'].apply(lambda x: x.max())
Out[31]: 
A
2013-01-01   2013-01-01 00:00:00
dtype: datetime64[ns]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.