Hylang - Plotting with Pandas
Here’s an example script where I used Hylang to plot data using matplotlib.
(import os)
(import [pandas :as pd])
(import pylab)
(-> (os.path.expanduser "~/Downloads/cpiai.csv")
(pd.DataFrame.from_csv)
(get "Index")
(.plot)
)
(pylab.title "Consumer Price Index")
(pylab.xlabel "year")
(pylab.ylabel "CPI")
(pylab.show)