Numpy, short for Numerical Python, is a foundational library that many other data science libraries like Pandas and Scikit-learn depend on. In addition to its data science applications, numpy helps significantly reduce your compute time and makes your code much more efficient. This tutorial will give you an introduction to some of Numpy’s unique attributes, especially the ndarray.

Setup

In order to use numpy, the standard way to import it as follows:

If you do not have numpy installed already on your computer, use the following command in order to install:

Creating a ndarray

The ndarray is…

Seema Vora

Software Engineering Student at SJSU

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store