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.