Skip to main content

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!

Release files for py-tsdata 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-tsdata 0.5.0
File Size Uploaded
py_tsdata-0.5.0.tar.gz 11.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-tsdata 0.5.0
File Interpreter ABI Platform
py_tsdata-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.4 MB

Release files / py_tsdata-0.5.0.tar.gz

Download URL py_tsdata-0.5.0.tar.gz
Size 11.7 MB
Tags Source
SHA-256 checksum
How to use checksums
bbedaddc65979cf8317f920af5320a7758ebe8b388a82d922b1967415e79b913
BLAKE2b-256 checksum
How to use checksums
cdaf8ed5e910cd9665b3d56e4926767e49d0440cf594b6c4b26cd654f1e1b9cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.7.13

Release files / py_tsdata-0.5.0-py3-none-any.whl

Download URL py_tsdata-0.5.0-py3-none-any.whl
Size 11.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2177bcfcc82a1ce50b4c99c0b7c8161072fb48c20c7dcdbca6dcf65aa0bbd29c
BLAKE2b-256 checksum
How to use checksums
85d797540548ed2fd9e90de07d8cb0fbc9529ce68660a6649e5a695d8bf894f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.7.13

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.6

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

1 release file

0.3.0

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page