O/p is wrong of X[1][1]

Hi,
Please explain o/p of X[1][1].

Regards,
Charu Sidana

Did you execute anything else between 66 and 93?

For me everything seems to be okay.

import numpy as np

x = np.random.rand(5, 8)

> x[1]
array([0.00980328, 0.03911296, 0.3676479 , 0.91376775, 0.87772554,
       0.17248357, 0.53367425, 0.60549359])

> x[1][1]

0.03911295942744564

> x[1,1]
0.03911295942744564