Skip to main content

Time Series Datasets

Project description

tsdata: Time Series Datasets in Python

This repository is a collection of time series datasets.

The tsdata package itself contains a way of loading these into Pandas.

NOTE: The PyPI name is py-tsdata due to confict with a removed package.

NOTE: This package currently only includes the bare requirements. However, I will keep adding data and functionality over time.

Installing

You can install this as a regular Python package via pip:

pip install py-tsdata

Quickstart

Check the version of the package after importing it:

>>> import tsdata
>>> print(tsdata.__version__)
0.3.0

Currently only "raw" datasets are implemented.

You can see available datasets and load them directly into Pandas:

>>> from tsdata.raw import available_data, load_data
>>> available_data()[:1]
['LakeHuron']
>>> load_data("LakeHuron").iloc[:2]
                   Time       Demand  Temperature        Date  Holiday
0  2011-12-31T13:00:00Z  4382.825174        21.40  2012-01-01     True
1  2011-12-31T13:30:00Z  4263.365526        21.05  2012-01-01     True

In the future, these will be available in pandas and xarray structures with proper indexes set.

Contributing

If you have time series datasets you would like to add (that you have the rights to contibute), please create a pull request!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-tsdata-0.3.4.tar.gz (4.2 MB view hashes)

Uploaded Source

Built Distribution

py_tsdata-0.3.4-py2.py3-none-any.whl (4.3 MB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page