Function shape for list or array | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Function shape for list or array

Explain function shape , please

7th Oct 2019, 9:15 PM
Ivan Ivanov
Ivan Ivanov - avatar
1 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
8th Oct 2019, 12:06 AM
m8riix
m8riix - avatar