Function shape for list or array | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

Function shape for list or array

Explain function shape , please

7th Oct 2019, 9:15 PM
Ivan Ivanov
Ivan Ivanov - avatar
1 Resposta
+ 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