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.2.tar.gz (4.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: py-tsdata-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 4065579ec93c6f1ea4cc49a2d157767c06511170adaf5e38c852b62774064961
MD5 efc1e558f7cbb67108de9d9b5f76a812
BLAKE2b-256 39b6efdd7708fa4458db0ba6e02305d88ecaf539423ad6341b86ce6d0a345921

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_tsdata-0.3.2-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.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6a4cdb3e28aa53eeb5588b9636adbcb8713af41d10832ac525e2e90b3c50d673
MD5 665c021b0618f77816b08df8d5c14952
BLAKE2b-256 c810bf0588bc6d50425782a55bd9b6324022db000d6245ffdb49e39e36e1d5c0

See more details on using hashes here.

Supported by

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