-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
The following exception is thrown:
File "c:\Programs\Python37\lib\site-packages\pandastable\core.py", line 488, in redraw
self.redrawVisible(event, callback)
File "c:\Programs\Python37\lib\site-packages\pandastable\core.py", line 470, in redrawVisible
self.colorRows()
File "c:\Programs\Python37\lib\site-packages\pandastable\core.py", line 581, in colorRows
colors = rc[colname].loc[idx]
File "c:\Programs\Python37\lib\site-packages\pandas\core\indexing.py", line 879, in __getitem__
return self._getitem_axis(maybe_callable, axis=axis)
File "c:\Programs\Python37\lib\site-packages\pandas\core\indexing.py", line 1099, in _getitem_axis
return self._getitem_iterable(key, axis=axis)
File "c:\Programs\Python37\lib\site-packages\pandas\core\indexing.py", line 1037, in _getitem_iterable
keyarr, indexer = self._get_listlike_indexer(key, axis, raise_missing=False)
File "c:\Programs\Python37\lib\site-packages\pandas\core\indexing.py", line 1254, in _get_listlike_indexer
self._validate_read_indexer(keyarr, indexer, axis, raise_missing=raise_missing)
Please notice: although it occurs frequently, I don't have steadily reproduced scenario.
During the debugging, I noticed that index of self.rowcolors does not match the actual self.model.df.
Metadata
Metadata
Assignees
Labels
No labels