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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file py-tsdata-0.3.4.tar.gz.

File metadata

  • Download URL: py-tsdata-0.3.4.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

File hashes

Hashes for py-tsdata-0.3.4.tar.gz
Algorithm Hash digest
SHA256 29508ca46bacd02af28c5ae34ed6d8f996edaac47f33648bef3f4c2a194e194c
MD5 5ca06a98e701e49dc6e4ccbe739feeeb
BLAKE2b-256 946c465e5ec221fcd6bb65b368c2537aff0d3c416475225c6ca8a4f8b5984c62

See more details on using hashes here.

File details

Details for the file py_tsdata-0.3.4-py2.py3-none-any.whl.

File metadata

  • Download URL: py_tsdata-0.3.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

File hashes

Hashes for py_tsdata-0.3.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 097ff1b9dddc4ce3e92f3c16177c8af111c910c0f09e75a559cf29bf954d731a
MD5 e5485a1960716f10dad521d8378faeee
BLAKE2b-256 87fa0e175f97874a733bdb102767ce04bcfbb513e6757a630ff1f6fe9327aa8f

See more details on using hashes here.

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