需要有一个异常,如果它抛出下面的错误消息(给出下面的代码),它将忽略数据。/dist-packages/pandas/core/indexes/range.py in get_loc(self, key, method, tolerance)
384/dist-packages/pandas/core/indexes/range.py in get_loc(<em
/dist-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
2656/dist-packages/pandas/core/indexes/base.py in get_loc(self, key, method, t
我试图使用matplotlib显示特定索引的图像,但它显示了错误,我没有得到为什么?我尝试获取mnist数据的索引0,并将其大小调整为28 x 28像素,然后通过plot.show()函数显示该索引值。/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
3079site-packages/p