A curated collection of time series datasets for data analysis, forecasting, statistical analysis, and machine learning in Python. It includes stock market prices, climate and weather data, energy consumption, air passengers, cryptocurrency, sensor readings, sales records, and more — sourced from Kaggle.
Project description
timeseriesdatasets
The timeseriesdatasets package provides a curated collection of time series
datasets for data analysis, forecasting, statistical analysis, and machine learning
in Python. It includes stock market prices, climate and weather data,
energy consumption, air passengers, cryptocurrency, sensor readings, sales records,
and more — sourced from Kaggle.
Installation
You can install the timeseriesdatasets package from PyPI:
pip install timeseriesdatasets
Usage
import timeseriesdatasets as ts
# List all available datasets
datasets = ts.list_datasets()
print(datasets)
# Load a specific dataset
df = ts.load_dataset('microsoft_stock')
print(df.head())
# Describe dataset
df_01 = ts.describe('nvidia_stock')
print(df_01)
📊 Some Available Datasets
| Dataset | Description |
|---|---|
microsoft_stock |
Microsoft stock price time series from 2015 to 2021. |
yahoo_stock |
Yahoo stock price time series data for forecasting. |
tesla_stock |
Tesla stock price time series data for daily trading and forecasting. |
nvidia_stock |
NVIDIA stock price time series from 1999 to 2025. |
Run
timeseriesdatasets.list_datasets()orts.list_datasets()(usingtsas alias) to see the full list of available datasets.
License
The timeseriesdatasets library is released under the MIT License, allowing free use for both commercial and non-commercial purposes.
See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file timeseriesdatasets-0.1.0.tar.gz.
File metadata
- Download URL: timeseriesdatasets-0.1.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2a21931519ce6699933616c5a9724f7c88ecac4f472469aa6e801191e9d2f5a
|
|
| MD5 |
26ae84cf4d8f572e06b19c8e0e2ecda6
|
|
| BLAKE2b-256 |
445b2d610b38eebf38d35b0890500e4541f68d88ad30b38c3957f7a7fd10fbb6
|
File details
Details for the file timeseriesdatasets-0.1.0-py3-none-any.whl.
File metadata
- Download URL: timeseriesdatasets-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e2bbfc17ef0ac6f8cf81ec5bd224216e8a883a06e2d6231e8a080e8072de832
|
|
| MD5 |
3dda703863d692d24741123d434d48c0
|
|
| BLAKE2b-256 |
5e4afef9ac1548a748ff3c964a9b24d8456eb5deeee0d1f88a847fff3faa6c87
|