I am trying to create a stacked histogram from a long panda dataframe. (you need pip install nycflights13):
pip install nycflights13
import pandas as pd from nycflights13