We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
http://nbviewer.ipython.org/4118124/
import pandas as pd from pandas.tseries.resample import TimeGrouper N = 1000 ind = pd.date_range(start="2000-01-01", freq="D", periods=N) df = pd.DataFrame({'open':1, 'close':2}, index=ind) tg = TimeGrouper('M') grouper = tg.get_grouper(df) # Errors df.groupby(grouper).apply(lambda df: df['close'] / df['open']) # AttributeError: 'BinGrouper' object has no attribute 'groupings'
Error does not occur for regular Grouper.
The text was updated successfully, but these errors were encountered:
ec86497
wesm
No branches or pull requests
http://nbviewer.ipython.org/4118124/
Error does not occur for regular Grouper.
The text was updated successfully, but these errors were encountered: