Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.45 KB

Quandl_Get_data_from_API.md

File metadata and controls

50 lines (29 loc) · 1.45 KB



Template request | Bug report | Generate Data Product

Tags: #quandl #marketdata #opendata #finance #snippet #matplotlib

Author: Jeremy Ravenel

Description: This notebook provides a guide to retrieving data from the Quandl API.

Input

Install packages

!pip install quandl

Import libraries

import quandl
import matplotlib.pyplot as plt

Model

Get the data

data = quandl.get("EIA/PET_RWTC_D")

Output

Show dataframe

data

Show the graph

%matplotlib inline
data.plot()