Skip to content

Instantly share code, notes, and snippets.

@zonca
Created May 16, 2024 19:39
Show Gist options
  • Save zonca/634f82f3030369b01f2a0710dfc894db to your computer and use it in GitHub Desktop.
Save zonca/634f82f3030369b01f2a0710dfc894db to your computer and use it in GitHub Desktop.
import pandas as pd
df = pd.DataFrame(data)
df = df.set_index("year")
df.plot(kind="bar")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment