I sent a dataset that is failing via slack. 981828174
[ERROR] IndexError: single positional indexer is out-of-boundsTraceback (most recent call last): File "/var/task/handler.py", line 34, in handler algo2_result = algo2.run(all_messages) File "/var/task/pillaralgos/algo2.py", line 118, in run results, first_stamp = thalamus(bigdf, min) File "/var/task/pillaralgos/algo2.py", line 40, in thalamus hour = chunk.iloc[-1,11] # col 11 is hour. File "/var/task/pandas/core/indexing.py", line 889, in getitem return self._getitem_tuple(key) File "/var/task/pandas/core/indexing.py", line 1450, in _getitem_tuple self._has_valid_tuple(tup) File "/var/task/pandas/core/indexing.py", line 723, in _has_valid_tuple self._validate_key(k, i) File "/var/task/pandas/core/indexing.py", line 1358, in _validate_key self._validate_integer(key, axis) File "/var/task/pandas/core/indexing.py", line 1444, in _validate_integer raise IndexError("single positional indexer is out-of-bounds")
Error with algo2:
I sent a dataset that is failing via slack. 981828174
[ERROR] IndexError: single positional indexer is out-of-boundsTraceback (most recent call last): File "/var/task/handler.py", line 34, in handler algo2_result = algo2.run(all_messages) File "/var/task/pillaralgos/algo2.py", line 118, in run results, first_stamp = thalamus(bigdf, min) File "/var/task/pillaralgos/algo2.py", line 40, in thalamus hour = chunk.iloc[-1,11] # col 11 is hour. File "/var/task/pandas/core/indexing.py", line 889, in getitem return self._getitem_tuple(key) File "/var/task/pandas/core/indexing.py", line 1450, in _getitem_tuple self._has_valid_tuple(tup) File "/var/task/pandas/core/indexing.py", line 723, in _has_valid_tuple self._validate_key(k, i) File "/var/task/pandas/core/indexing.py", line 1358, in _validate_key self._validate_integer(key, axis) File "/var/task/pandas/core/indexing.py", line 1444, in _validate_integer raise IndexError("single positional indexer is out-of-bounds")