Skip to main content

NumPy: Array Axis

As we know, that in mathematics dimension is defined as the minimum number of coordinates needed to specify any point within space. It is very similar to axes in a cartesian coordinate system.  In Numpy dimension is also known as the axis.

Numpy Axis is the type of direction through which we can start the iteration. In Numpy every operation has a specific process of iteration through which the operation proceeds. In the most simple terms when we have more than a 1-D array then the concept of the axis comes into role. 


As in a 2-D array, it has 2-Axis. The first axis is vertically downward i.e. across rows, and the second is horizontal i.e. across columns.

Numpy:Array Axis
Submitted by devanshi.srivastava on October 4, 2021

Devanshi, is working as a Data Scientist with iVagus. She has expertise in Python, NumPy, Pandas and other data science technologies.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.