Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Posted on:

12 Sept 2024

0

numpy.ndarray.shape is an attribute not a method

Hi Iliya, in the lesson Scalars, Vectors, and Matrices as Python Arrays, min 3:34 aprox. you indicate that 'shape' is a method, but in my understanding shape is not a method of the numpy.ndarray object but instead is an attribute. I understand that the difference is important when one refers to objects in Python, that is why I mention it.
0 answers ( 0 marked as helpful)

Submit an answer