asv bench cleanup - groupby by jorisvandenbossche · Pull Request #10998 · pandas-dev/pandas (original) (raw)
a couple fail: asv dev --bench groupby
[ 15.38%] ··· Running groupby.groupby_first_last.time_groupby_nth_float32_any fed
[ 15.38%] ····· Traceback (most recent call last):
File "/Users/jreback/miniconda/lib/python2.7/site-packages/asv-0.2.dev795+c27e60f7-py2.7.egg/asv/benchmark.py", line 774, in <module>
commands[mode](args)
File "/Users/jreback/miniconda/lib/python2.7/site-packages/asv-0.2.dev795+c27e60f7-py2.7.egg/asv/benchmark.py", line 751, in main_run
result = benchmark.do_run()
File "/Users/jreback/miniconda/lib/python2.7/site-packages/asv-0.2.dev795+c27e60f7-py2.7.egg/asv/benchmark.py", line 443, in do_run
return self.run(*self._current_params)
File "/Users/jreback/miniconda/lib/python2.7/site-packages/asv-0.2.dev795+c27e60f7-py2.7.egg/asv/benchmark.py", line 510, in run
timing = timer.timeit(number)
File "/Users/jreback/miniconda/lib/python2.7/timeit.py", line 201, in timeit
timing = self.inner(it, self.timer)
File "/Users/jreback/miniconda/lib/python2.7/timeit.py", line 100, in inner
_func()
File "/Users/jreback/pandas/asv_bench/benchmarks/groupby.py", line 64, in time_groupby_nth_float32_any
self.data2.groupby(self.labels).nth(0, dropna='all')
File "/Users/jreback/miniconda/lib/python2.7/site-packages/pandas/core/groupby.py", line 903, in nth
level=self.level, sort=self.sort)
File "/Users/jreback/miniconda/lib/python2.7/site-packages/pandas/core/groupby.py", line 2158, in _get_grouper
level=level, sort=sort, in_axis=in_axis)
File "/Users/jreback/miniconda/lib/python2.7/site-packages/pandas/core/groupby.py", line 1879, in __init__
self.grouper = _convert_grouper(index, grouper)
File "/Users/jreback/miniconda/lib/python2.7/site-packages/pandas/core/groupby.py", line 2185, in _convert_grouper
raise AssertionError('Grouper and axis must be same length')
AssertionError: Grouper and axis must be same length
[ 16.92%] ··· Running groupby.groupby_first_last.time_groupby_nth_float64_any fed
[ 16.92%] ····· Traceback (most recent call last):
File "/Users/jreback/miniconda/lib/python2.7/site-packages/asv-0.2.dev795+c27e60f7-py2.7.egg/asv/benchmark.py", line 774, in <module>
commands[mode](args)
File "/Users/jreback/miniconda/lib/python2.7/site-packages/asv-0.2.dev795+c27e60f7-py2.7.egg/asv/benchmark.py", line 751, in main_run
result = benchmark.do_run()
File "/Users/jreback/miniconda/lib/python2.7/site-packages/asv-0.2.dev795+c27e60f7-py2.7.egg/asv/benchmark.py", line 443, in do_run
return self.run(*self._current_params)
File "/Users/jreback/miniconda/lib/python2.7/site-packages/asv-0.2.dev795+c27e60f7-py2.7.egg/asv/benchmark.py", line 510, in run
timing = timer.timeit(number)
File "/Users/jreback/miniconda/lib/python2.7/timeit.py", line 201, in timeit
timing = self.inner(it, self.timer)
File "/Users/jreback/miniconda/lib/python2.7/timeit.py", line 100, in inner
_func()
File "/Users/jreback/pandas/asv_bench/benchmarks/groupby.py", line 70, in time_groupby_nth_float64_any
self.data.groupby(self.labels).nth(0, dropna='all')
File "/Users/jreback/miniconda/lib/python2.7/site-packages/pandas/core/groupby.py", line 903, in nth
level=self.level, sort=self.sort)
File "/Users/jreback/miniconda/lib/python2.7/site-packages/pandas/core/groupby.py", line 2158, in _get_grouper
level=level, sort=sort, in_axis=in_axis)
File "/Users/jreback/miniconda/lib/python2.7/site-packages/pandas/core/groupby.py", line 1879, in __init__
self.grouper = _convert_grouper(index, grouper)
File "/Users/jreback/miniconda/lib/python2.7/site-packages/pandas/core/groupby.py", line 2185, in _convert_grouper
raise AssertionError('Grouper and axis must be same length')
AssertionError: Grouper and axis must be same length