fix a warning from numpy about using float-as-index
fix some numpy/pandas interaction bug that crept in at some point