No topics yet. Start the conversation.

Description

The below description is supplied in free-text by the user

Apple price history using pandas

A simple example showing how to use python/pandas together with novem to create a line chart.

from pandas_datareader import data
from novem import Plot

line = Plot('aapl_price_hist', type="line", name="Apple price history")

# Only get the adjusted close.
aapl = data.DataReader("AAPL", 
                       start='2015-1-1', 
                       end='2021-12-31', 
                       data_source='yahoo')['Adj Close']

aapl.pipe(line)