Skip to content

Tag Archives: Python-numpy

In order to count the number of days of a specific month, we will be using numpy.datetime64() method of numpy module. Examples: Input: month =… Read More
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
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
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
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
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
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
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
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
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
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
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
Prerequisite: numpy This numpy inbuilt function suppresses whole columns that contain masked values in a 2-D array. Syntax: Parameters :  arr : [array_like, MaskedArray]… Read More function return the differences between consecutive elements of an array. Syntax :, to_end = None, to_begin = None)  Parameters : arr : [array_like] Input… Read More 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