Closed Aiuthss closed 4 years ago
Traceback (most recent call last):
File "VIRTUS_wrapper.py", line 140, in <module>
df.iloc[:,i] = x
File "/home/yyasumizu/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 204, in __se
titem__
indexer = self._get_setitem_indexer(key)
File "/home/yyasumizu/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 182, in _get
_setitem_indexer
return self._convert_tuple(key, is_setter=True)
File "/home/yyasumizu/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 262, in _con
vert_tuple
idx = self._convert_to_indexer(k, axis=i, is_setter=is_setter)
File "/home/yyasumizu/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 2175, in _co
nvert_to_indexer
self._validate_key(obj, axis)
File "/home/yyasumizu/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 2014, in _va
lidate_key
self._validate_integer(key, axis)
File "/home/yyasumizu/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 2088, in _va
lidate_integer
raise IndexError("single positional indexer is out-of-bounds")
IndexError: single positional indexer is out-of-bounds
error occurred in line 140 iloc function. I'm using pandas==0.25.1 .
add wrapper and sample