Posts from Python

Python Program to check whether given number is a Moran Number or not

By Abinash Reddy

In this article, we will learn how to check whether the given number n is a Moran Number in Python. A number is said to be Moran Number if it is divisible by the sum of its digits.... Read More

How to highlight a row in Pandas Data frame in Python

By Sadhu Meghana

In this tutorial, we are going to learn how to highlight a row in Pandas Dataframe in Python. To achieve this, we use apply() function of the Styler class. Styler.apply() function .... Read More

Convert an HTML table to pandas Dataframe

By Sadhu Meghana

Using Python, let us understand how to convert an HTML table to a pandas data frame. HTML provides us with <table> tag for storing data in table format. Pandas library has re.... Read More

How to change column type in Pandas Python

By Sadhu Meghana

Let’s look at different ways of changing datatypes of columns in Python. We come across many situations where there is a need for datatype casting while working with datasets.... Read More

Optical Flow in OpenCV Python

By Gaurav Jagwani

Hello Programmers, In this tutorial, we will learn about Optical Flow in OpenCV using Python. Optical flow is the flow (motion) of objects between two consecutive frames caused by .... Read More

Record voice from the microphone in Python with few lines of code

By SAHITHI NIHARIKA TALAGAPU

In this tutorial, we will learn how to record voice from the microphone in python. This can be done by using the Pyaudio module. This pyaudio helps python to record as well as play.... Read More

Python Program to check if array contains all the elements in the range

By Abinash Reddy

In this article, we will learn how to check if a given array contains all the elements in the given range in Python. Example arr[] = {2, 6, 7, 8, 9, 10, 12, 14} range = {5, 10} Out.... Read More

Learn to insert a column in Python based on condition – Pandas

By Sadhu Meghana

This tutorial will teach us how to insert a new column based on conditions in Python. It is easy to add a column in Python. But here we will add a column with values based on some .... Read More

Related Posts