## NumPy array reshape (Shape transformation without data change)

In this tutorial, you will learn about reshaping the NumPy arrays. This tutorial focuses on the reshaping technique using the…

Skip to content

Python
## NumPy array reshape (Shape transformation without data change)

In this tutorial, you will learn about reshaping the NumPy arrays. This tutorial focuses on the reshaping technique using the…

Python
## Generate random numbers in Python

There are two types of random number generators: pseudo-random number generator and true random number generator. Pseudorandom numbers depend on…

Python
## Python Priority Queue (Step By Step Guide)

A queue is a data structure that retrieves data items in an order called FIFO (first in first out). In FIFO,…

Python
## Slicing In Python (Comprehensive Tutotial)

Programming in Python involves frequently working with sequential or ‘indexed’ data. Indexed data are the ones stored in such structures…

Python
## Modulo Operator In Python (Simplified Examples)

There are two ways in which we can do arithmetic division of two numbers. One of them is the floating-point…

Python
## Python map() Function (Loop without a loop)

Have you been using for loops to perform repetitive tasks on a list of items in Python? Did you wish there existed…

Python
## A Foolproof Guide to Infinity In Python

Numbers are an integral part of programming. Hence, programming languages support various datatypes to represent different kinds of numbers and…

Python
## 11 Amazing NumPy Shuffle Examples

Python’s NumPy package offers various methods that are used to perform operations involving randomness, such as the methods to randomly…

Python
## The Unconventional Guide to Colors In Python

If you have been programming in Python, chances are high that you have encountered at least one library that offers…

Python
## NumPy Meshgrid From Zero To Hero

Python’s NumPy is the most commonly used library for working with array/matrix data. A matrix can be viewed as a…

Python
## 3D plotting in Python using matplotlib

Data visualization is one such area where a large number of libraries have been developed in Python. Among these, Matplotlib…

Python
## Normalization using NumPy norm (Simple Examples)

Normalization of a vector or a matrix is a common operation performed in a variety of scientific, mathematical, and programming…