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.

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

Uploaded Source

Built Distribution

py_tsdata-0.5.0-py3-none-any.whl (11.7 MB view details)

Uploaded Python 3

File details

Details for the file py_tsdata-0.5.0.tar.gz.

File metadata

  • Download URL: py_tsdata-0.5.0.tar.gz
  • Upload date:
  • Size: 11.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.13

File hashes

Hashes for py_tsdata-0.5.0.tar.gz
Algorithm Hash digest
SHA256 bbedaddc65979cf8317f920af5320a7758ebe8b388a82d922b1967415e79b913
MD5 7a90c4c131c232c1c8eeb521c3ae26c6
BLAKE2b-256 cdaf8ed5e910cd9665b3d56e4926767e49d0440cf594b6c4b26cd654f1e1b9cc

See more details on using hashes here.

File details

Details for the file py_tsdata-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: py_tsdata-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.13

File hashes

Hashes for py_tsdata-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2177bcfcc82a1ce50b4c99c0b7c8161072fb48c20c7dcdbca6dcf65aa0bbd29c
MD5 ea71637aa16763af8109fa3740589755
BLAKE2b-256 85d797540548ed2fd9e90de07d8cb0fbc9529ce68660a6649e5a695d8bf894f6

See more details on using hashes here.

Supported by

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