Doubt in shape object
When I am reshaping the array ar as :ar.reshape(4,2) ,I am getting an array of 4 rows and 2 columns .However, when I am finding shape of ar using: ar.shape , output is coming (2,4). Why is (4,2) not shown even after reshaping the array?
Python-3.4.3 Getting-started-with-arrays 04-05 min 20-30 sec
'ar' is the name of the object has to be used along with shape function. try br = ar.reshape(4,2). Kindly reply.