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
Here is another minimal working example of a related (same?) failure. Note this runs correctly in version 0.7.3-1 and not in 0.8.x
from datetime import datetime
import numpy as np
from pandas import DataFrame, date_range
df = DataFrame(np.random.rand(100), index=date_range("1/1/2000", periods=100))
monthly_group = df.groupby(lambda x: (x.year,x.month))
try:
print monthly_group.groups
except TypeError as e:
print "Failed to list the groups: error was %s" % e
print monthly_group.mean()
from mailing list
The text was updated successfully, but these errors were encountered: