Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: How to find the shape of a NumPy array?
Answer: You can use the attribute 'shape'. For example, 'arr.shape' returns the shape of 'arr'.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook