Function shape for list or array | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

Function shape for list or array

Explain function shape , please

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