A Quick Introduction to Numpy Random Normal

An image normally distributed data created with np.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 normally distributed numbers. The Numpy random normal function generates a sample of numbers drawn from … Read more

np.random.randn Explained

An image that shows how numpy.random.randn generates numbers from the standard normal distribution, with a mean of 0 and a standard deviation of 1.

In this tutorial, I’ll explain how to use the np.random.randn function (AKA, Numpy random randn). The tutorial is divided up into several different sections, including a quick overview of what the function does, an explanation of the syntax, and a section that shows step-by-step examples. You can click on any of the following links and … Read more

How to use the NumPy median function

This tutorial will show you how to use the NumPy median function, which we often call np.median. This tutorial will teach you a few things. First, it will show you how the NumPy median function works syntactically. We’ll cover the basic syntax and parameters of the np.median function. I’ll also show you some examples of … Read more

How to make a matplotlib histogram

This tutorial will explain how to make a matplotlib histogram. If you’re interested in data science and data visualization in Python, then read on. This post will explain how to make a histogram in Python using matplotlib. Here’s exactly what the tutorial will cover: A quick introduction to matplotlib The syntax for the matplotlib histogram … Read more