7 Tips to Help you Learn Numpy Quickly

Over and over again, I emphasize the importance of data manipulation. Data manipulation is the foundation for almost everything else in data science and machine learning. So to be a great data scientist, one of your first goals should be to master data manipulation tools. And if you’re doing data manipulation in Python, that means … Read more

How to Use the Numpy Multiply Function

An image that shows using Numpy multiply to compute the element-wise product of two Numpy arrays.

In this tutorial, I’ll explain how to use the Numpy multiply function – AKA np.multiply – to multiply matrices together. I’ll explain the syntax of np.multiply, how the function works, and how to use it. If you need something specific, you can click on any of the following links. Table of Contents: Introduction to Numpy … Read more

Numpy Argmin, Explained

An image that shows how Numpy argmin returns the index of the minimum value of a Numpy array.

This tutorial explains how to use the Numpy argmin function. It explains the syntax of np.argmin, and also shows clear examples. If you need something specific, you can click on any of the links below. These links will take you to the appropriate section of the tutorial. Table of Contents: Introduction to Numpy Argmin Syntax … Read more

Numpy Unique, Explained

An image that shows how the Numpy unique function identifies unique values.

This tutorial will explain how to use the Numpy unique function. It will explain what the np.unique function does, how the syntax works, and it will show you clear examples. If you need something specific, you can click on any of the following links. Table of Contents: Introduction Syntax Examples A Quick Introduction to Numpy … Read more

Numpy Factorial, Explained

In image showing how to compute factorials in Numpy and Scipy

In this tutorial, I’ll explain how to use the Numpy factorial function, AKA np.math.factorial. I’ll explain the syntax of np.math.factorial, how the function works, and how to use it. I’ll also show you how to use a different function, scipy.special.factorial, to compute factorials element-wise on Numpy arrays. Table of Contents: Introduction to Numpy Factorial The … Read more

Numpy Any, Explained

An image showing Numpy any operating on a Numpy array with boolean data, and testing if any of the values is True.

In this tutorial, I’ll explain how to use the Numpy any function (AKA, np.any). I’ll explain the what this function does, how the syntax works, and I’ll show you clear, step-by-step examples of how to use it. If you need something specific, just click on any of the following links. The link will take you … Read more