How to Convert an Image from RGB to Grayscale in Python

Problem Formulation and Solution Overview In this article, you’ll learn how to convert an image from RGB to Grayscale. Aaron, an Icelandic Photographer, has a beautiful picture of their famous Elephant Rock. He needs to convert this picture from an RGB to Grayscale representation and has asked for your assistance. πŸ’‘Note: To follow along, right-click … Read more

How to Customize Gridlines (Location, Style, Width) in Python Matplotlib?

πŸ’‘ Grid lines are horizontal and vertical lines that span the chart to represent axis divisions. They assist chart readers in determining what value is represented by an unlabeled data point. Grid lines provide essential indications to the observer, especially for big or sophisticated charts. In this article, you will learn how to customize the … Read more

np.gradient() — A Simple Illustrated Guide

In Python, the numpy.gradient() function approximates the gradient of an N-dimensional array. It uses the second-order accurate central differences in the interior points and either first or second-order accurate one-sided differences at the boundaries for gradient approximation. The returned gradient hence has the same shape as the input array.Β  Here is the argument table of … Read more

Tableau Developer — Income and Opportunity

Before we learn about the money, let’s get this question out of the way: What is Tableau? Let’s have a look at the definition inspired by the official Tableau website: Tableau is a visual data analytics platform focused on the business analytics use case that helps you use data to solve problems. It is great … Read more

Pandas DataFrame plot.pie() Method

Preparation Before any data manipulation can occur, four (4) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The NumPy library supports multi-dimensional arrays and matrices in addition to a collection of mathematical functions. The Matplotlib library displays a visual graph of a plotted dataset. The Scipy library allows users to … Read more

Pandas DataFrame plot.hist() Method

Preparation Before any data manipulation can occur, four (4) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The NumPy library supports multi-dimensional arrays and matrices in addition to a collection of mathematical functions. The Matplotlib library displays a visual graph of a plotted dataset. The Scipy library allows users to … Read more

Pandas DataFrame plot.hexbin() Method

Preparation Before any data manipulation can occur, four (4) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The NumPy library supports multi-dimensional arrays and matrices in addition to a collection of mathematical functions. The Matplotlib library displays a visual graph of a plotted dataset. The Scipy library allows users to … Read more

Pandas DataFrame plot.density() Method

Preparation Before any data manipulation can occur, three (3) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The Matplotlib library displays a visual graph of a plotted dataset. The Scipy library allows users to manipulate and visualize the data. To install these libraries, navigate to an IDE terminal. At the … Read more

Pandas DataFrame plot.box() Method

Preparation Before any data manipulation can occur, three (3) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The Matplotlib library displays a visual graph of a plotted dataset. The Scipy library allows users to manipulate and visualize the data. To install these libraries, navigate to an IDE terminal. At the … Read more

Pandas DataFrame plot.barh() Method

Preparation Before any data manipulation can occur, three (3) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The Matplotlib library displays a visual graph of a plotted dataset. The Scipy library allows users to manipulate and visualize the data. To install these libraries, navigate to an IDE terminal. At the … Read more