We have just revised the basic ways of data handling with Python. Without further ado, let's create our first "Hello World!" plot example.
Our first plots with Matplotlib
Importing the pyplot
To create a pandas DataFrame from objects such as lists and ndarrays, you may call:
import pandas as pd
To start creating Matplotlib plots, we first import the plotting API pyplot by entering this command:
import matplotlib.pyplot as plt
This will start your plotting routine.
In Jupyter Notebook, you need to import modules once you begin a notebook session after starting the kernel.