Function shape for list or array | Sololearn: Learn to code for FREE!

+2

Function shape for list or array

Explain function shape , please

10/7/2019 9:15:03 PM

Ivan Ivanov

1 Answer

New Answer

+2

numpy array support shape function which returns the shape i.e numpy.shape(array) returns rows, columns of an array/matrix in tuple format like (3,4) denotes the rows=3 and column =4