What is numpy shape?



What is numpy shape?..

Answer / Chandrakant Mani Pathak

In Python's NumPy library, the 'shape' of an array refers to the number of elements in each dimension. It is returned by the shape attribute and can be used to understand the structure of the array.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is the difference between re.search and re.match?

1 Answers  


Does the same python code work on multiple platforms without any changes?

1 Answers  


What are benefits of python?

1 Answers  


How do I run a python script?

1 Answers  


How many items are in a list python?

1 Answers  


How do you remove duplicates from a list whilst preserving order?

1 Answers  


What is python shell scripting?

1 Answers  


The following is displayed by a print function call?

1 Answers  


How do I copy an object in python?

1 Answers  


What is python? State some programming language features of python.

1 Answers  


What are the different environment variables identified by python?

1 Answers  


What is python unit test?

1 Answers  


Categories