import pandas as pd import numpy as np from pandas.tseries.resample import TimeGrouper import pandas.util.testing as tm df = tm.makeTimeDataFrame() tg = TimeGrouper('M') func = lambda x: (x - 1) df.groupby(tg).transform(func)
/externals/pandas/pandas/core/groupby.py in _get_compressed_labels(self)
1360 def _get_compressed_labels(self):
-> 1361 all_labels = [ping.labels for ping in self.groupings]
1362 if self._overflow_possible:
TypeError: 'NoneType' object is not iterable
Seems related to #8049 as that check group_info which errors on BinGrouper since there are no groupings
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4