TypeError: unhashable type: 'slice' for pandas

前端 未结 4 2219
甜味超标
甜味超标 2021-02-19 14:27

I have a pandas datastructure, which I create like this:

test_inputs = pd.read_csv(\"../input/test.csv\", delimiter=\',\')

Its shape

         


        
4条回答
  •  误落风尘
    2021-02-19 15:01

    print(test_inputs.values[100:200, :])
    print(test_inputs.values[100:200, :].shape)
    

    This code is also working for me.

提交回复
热议问题