TypeError: ‘(slice(None, None, None), 0)’ is an invalid key

--

Do not use DataFrame with LIME. Convert it to a numpy array first. Otherwise it raises error

TypeError: ‘(slice(None, None, None), 0)’ is an invalid key

Numpy() here

--

--

Sarit Ritwirune

On the way to full stack cross-platform. Currently make living by data science.