import matplotlib.pyplot as plt
import numpy as np
from votes import wide as df
This causes an error as no package ‘votes’
This is a basic format used to demo plots with not just matplotlib.
There is no Anaconda package votes. This appears to be a way to import a dataset and assign it to the variable df.
Please help modify the URL to make that clear to others.
Thanks in advance.
What you can do is load the CSV into a dataframe named df and the rest of the code should work. The module was just there for convenience to get the dataframe loaded with pandas.