-->

Shape Coloring Sheets


-->

Shape Coloring Sheets. Shape is a tuple that gives you an indication of the number of dimensions in the array. So in your case, since the index value of y.shape[0] is 0, your are working along the first.

Free Shapes Coloring Pages For Kids
Free Shapes Coloring Pages For Kids from animalia-life.club

Please can someone tell me work of shape [0] and shape [1]? In python shape [0] returns the dimension but in this code it is returning total number of set. (r,) and (r,1) just add (useless) parentheses but still express respectively 1d and 2d array.

-->

Free Shapes Coloring Pages For Kids

In python shape [0] returns the dimension but in this code it is returning total number of set. X.shape[0] gives the first element in that tuple, which is 10. 82 yourarray.shape or np.shape() or np.ma.shape() returns the shape of your ndarray as a tuple; So in your case, since the index value of y.shape[0] is 0, your are working along the first.

-->