# Tag Archives: Python-numpy

## Check data type in NumPy

Numpy is a module in python. It is originally called numerical python, but in short, we pronounce it as numpy. NumPy is a general-purpose array-processing… Read More »

## How to Prepare Data Before Deploying a Machine Learning Model?

It is very rare that you get data exact in the form in which you want. Data Preprocessing is a crucial and very first step… Read More »

## Display all the dates for a particular month using NumPy

In NumPy to display all the dates for a particular month, we can do it with the help of NumPy.arrange() pass the first parameter the… Read More »

## Find the number of weekdays of a given month using NumPy

In NumPy we can find the number of weekdays in a given month with the help of busday_count() In this pass the given month is… Read More »

## Get the dates of Yesterday, Today, and Tomorrow using NumPy

In NumPy with the help of NumPy.datetime64(‘today’, ‘D’), we will find today date and if we want some date before today then we will subtract… Read More »

## Normal Distribution Plot using Numpy and Matplotlib

In this article, we will see how we can create a normal distribution plot in python with numpy and matplotlib module.  What is Normal Distribution?… Read More »

## How to Crop an Image using the Numpy Module?

In this article, we are going to learn about the most naive and efficient approach to crop an image without using any additional module. The… Read More »

## NumPy – 3D matrix multiplication

A 3D matrix is nothing but a collection (or a stack) of many 2D matrices, just like how a 2D matrix is a collection/stack of… Read More »

## How to Retrieve an Entire Row or Column of an Array in Python?

Arrays are a set of similar elements grouped together to form a single entity, that is, it is basically a collection of integers, floating-point numbers,… Read More »

## Create a correlation Matrix using Python

A correlation matrix is a table containing correlation coefficients between variables. Each cell in the table represents the correlation between two variables. The value lies… Read More »

## Flatten A list of NumPy arrays

Prerequisite Differences between Flatten() and Ravel() Numpy Functions, numpy.ravel() in Python,  In this article, we will see how we can flatten a list of numpy… Read More »

## numpy.ma.compress_cols() function in Python

Prerequisite: numpy This numpy inbuilt function suppresses whole columns that contain masked values in a 2-D array. Syntax:  numpy.ma.compress_cols(arr) Parameters :  arr : [array_like, MaskedArray]… Read More »

## numpy.ma.ediff1d() function in Python

numpy.ma.ediff1d() function return the differences between consecutive elements of an array. Syntax : numpy.ma.ediff1d(arr, to_end = None, to_begin = None)  Parameters : arr : [array_like] Input… Read More »

## numpy.ma.compress_rowcols() function in Python

numpy.ma.compress_rowcols() function suppresses rows and columns that contain masked values in a 2-D array. The suppression behavior is selected with the axis parameter:  If axis is… Read More »

## Convert covariance matrix to correlation matrix using Python

In this article, we will be discussing the relationship between Covariance and Correlation and program our own function for calculating covariance and correlation using python. … Read More »