Posts by Sadhu Meghana

Author Biographical Info: Interested in Python, Machine Learning, and Web development.

Mapping values in a Pandas Dataframe

By Sadhu Meghana

In this tutorial, you’ll learn how to map values in a pandas data frame. Sometimes, it is important to map the values of one column to the other. To map values, we use the ma.... Read More

Prettier default plot colors in matplotlib

By Sadhu Meghana

In this tutorial, we will make beautiful plots with different colors with matplotlib Python library. While working with plots in matplotlib, we often see that default blue shade ev.... Read More

Fix the Pandas: TypeError: no numeric data to plot

By Sadhu Meghana

In this tutorial, we will learn what is ‘TypeError: no numeric data to plot‘ and how to fix it. For this, we need to understand how plots in Pandas work. Only numerical.... Read More

Change tick labels font size in matplotlib

By Sadhu Meghana

This tutorial will look into different methods of changing the font size for tick labels in matplotlib. Matplotlib is an excellent library used for the visualization of 2D plots. I.... Read More

Custom alignment for tick labels in matplotlib

By Sadhu Meghana

In this article, we are going to learn how to align tick labels in matplotlib. Alignment of tick labels helps in better understanding and good presentation. Here, we use the same m.... 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

Related Posts