Select Page
How to use numpy random normal in Python

How to use numpy random normal in Python

This tutorial will cover the NumPy random normal function (AKA, np.random.normal). If you’re doing any sort of statistics or data science in Python, you’ll often need to work with random numbers. And in particular, you’ll often need to work with...
How to use the NumPy mean function

How to use the NumPy mean function

This tutorial will show you how to use the NumPy mean function, which you’ll often see in code as numpy.mean or np.mean. It will teach you how the NumPy mean function works at a high level and it will also show you some of the details. So, you’ll learn...
How to use the NumPy concatenate function

How to use the NumPy concatenate function

This tutorial will explain how to use the NumPy concatenate function in Python (which is sometimes called np.concatenate). This post will cover several topics. If you don’t want to read the full tutorial, click on the appropriate link and it will send you to the...
How to use the Numpy ones function

How to use the Numpy ones function

In this tutorial I’ll show you how to use the NumPy ones function, which is often called np.ones. What the numpy ones function does The NumPy ones function creates NumPy arrays filled with 1’s. That’s it. It’s pretty straight forward. The...
Numpy axes explained

Numpy axes explained

This tutorial will explain NumPy axes. It will explain what a NumPy axis is. The tutorial will also explain how axes work, and how we use them with NumPy functions. Although it’s probably best for you to read the full tutorial, if you want to skip ahead, you can...