Something funky with the index of your return DataFrame. Add drop=True
to reset_index
:
self.values = event.new.sort_values(self.sort_col).reset_index(drop=True)
Anyone know how to add Selection1D into the mix? I’ve tried here.
Something funky with the index of your return DataFrame. Add drop=True
to reset_index
:
self.values = event.new.sort_values(self.sort_col).reset_index(drop=True)
Anyone know how to add Selection1D into the mix? I’ve tried here.