Traceback (most recent call last):


 "/root/espnet/egs/an4/asr1/../../../src/utils/mergejson.py", line 64, in <module>

out_dic[unicode('shape', 'utf-8')] = (int(dic[unicode('olen', 'utf-8')]), int(dic[unicode('odim', 'utf-8')]))
ValueError: invalid literal for int() with base 10: ''

Traceback (most recent call last):


 "D:/test/groupby_bug.py", line 16, in <module>

df = dbars.groupby("exchange").apply(_do_calc_)


 "C:\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py", line 701, in apply

return self._python_apply_general(f)


 "C:\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py", line 712, in _python_apply_general

not_indexed_same=mutated or self.mutated)


 "C:\Anaconda3\lib\site-packages\pandas\core\groupby\generic.py", line 318, in _wrap_applied_output

not_indexed_same=not_indexed_same)


 "C:\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py", line 918, in _concat_objects

sort=False)


 "C:\Anaconda3\lib\site-packages\pandas\core\reshape\concat.py", line 228, in concat

copy=copy, sort=sort)


 "C:\Anaconda3\lib\site-packages\pandas\core\reshape\concat.py", line 292, in __init__

obj._consolidate(inplace=True)


 "C:\Anaconda3\lib\site-packages\pandas\core\generic.py", line 5156, in _consolidate

self._consolidate_inplace()


 "C:\Anaconda3\lib\site-packages\pandas\core\generic.py", line 5138, in _consolidate_inplace

self._protect_consolidate(f)


 "C:\Anaconda3\lib\site-packages\pandas\core\generic.py", line 5127, in _protect_consolidate

result = f()


 "C:\Anaconda3\lib\site-packages\pandas\core\generic.py", line 5136, in f

self._data = self._data.consolidate()


 "C:\Anaconda3\lib\site-packages\pandas\core\internals\managers.py", line 922, in consolidate

bm = self.__class__(self.blocks, self.axes)


 "C:\Anaconda3\lib\site-packages\pandas\core\internals\managers.py", line 114, in __init__

self._verify_integrity()


 "C:\Anaconda3\lib\site-packages\pandas\core\internals\managers.py", line 311, in _verify_integrity

construction_error(tot_items, block.shape[1:], self.axes)


 "C:\Anaconda3\lib\site-packages\pandas\core\internals\managers.py", line 1691, in construction_error

passed, implied))
ValueError: Shape of passed values is (432, 27), indices imply (1080, 27)
