slicing 1st column
Title
Question
i tried to use the column index as well for accessing 1st column
c[0:4][0]..but it returns array([1, 2, 3, 4, 5 ])
i cant understand how it works pls explain
Python-3.4.3 Accessing-parts-of-arrays 07-08 min 30-40 sec
Answers:
It is returning elements of all columns 0 to 4 for the 0th row and hence you receive the row elements
Login to add comment