Difference between Numpy’s Permutation() and Shuffle() functions

In this post, we will learn about the differences between Numpy’s permutation() function and shuffle() function with examples. Numpy offers a variety of functions to randomize or create random data. Numpy’s permutation() and shuffle() functions are two key functions that help randomize existing 1-D array or 2D-arrays. First, we will start with how to use… Continue reading Difference between Numpy’s Permutation() and Shuffle() functions

How to generate random numbers from Beta distribution in Numpy

Shapes of Beta distribution and their parameters

In this tutorial, we will learn how to generate random numbers from Beta distribution in Python using Numpy. We will use Numpy’s Random Generator object with. random module’s beta() function to generate random numbers from beta distribution. We will start with learning the basics of Beta distribution. Then we will learn how to generate a… Continue reading How to generate random numbers from Beta distribution in Numpy

How to generate random numbers from binomial distribution in Numpy

In this post we will learn the basics of generating random numbers from binomial distribution in Python with Numpy. We will use Numpy’s random module’s binomial() function to generatee random numbers with multiple examples. What is Binomial Distribution The binomial distribution is a probability distribution that describes the outcomes of a series of independent trials… Continue reading How to generate random numbers from binomial distribution in Numpy

7 tips to get Statistical Summaries in Numpy

In this post we will learn about 5 handy statistical summary functions in Numpy. Numpy offers a variety of statistical summary functions to help analyse understand data. Numpy’s summary functions allow you to calculate, quickly using vectorized operations. In this post we will learn how to use some of the most commonly used statistical summary… Continue reading 7 tips to get Statistical Summaries in Numpy