altair-viz / vega_datasets

A Python package for online & offline access to vega datasets
MIT License
173 stars 57 forks source link

__version__ = '0.5.0.dev2' #12

Closed palewire closed 6 years ago

palewire commented 6 years ago

I propose a new release so the latest datasets can be used.

jakevdp commented 6 years ago

Thanks – I'll try to do an 0.5 release today.

palewire commented 6 years ago

Great!

jakevdp commented 6 years ago

OK, version 0.5 with iowa datasets is released:

In [0]: !pip install -U vega_datasets

In [1]: from vega_datasets import data

In [2]: data.iowa_electricity().head()
Out[2]: 
        year        source  net_generation
0 2001-01-01  Fossil Fuels           35361
1 2002-01-01  Fossil Fuels           35991
2 2003-01-01  Fossil Fuels           36234
3 2004-01-01  Fossil Fuels           36205
4 2005-01-01  Fossil Fuels           36883