I am trying to create a plot similar to the one in this post. I\'m not sure why, but when I run the following code, I get an error:
df1 = pd.DataFrame(list(zi