Datasets:
Tasks:
Time Series Forecasting
Modalities:
Time-series
Sub-tasks:
univariate-time-series-forecasting
License:
Dataset Viewer
The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
traffic_weekly (TsFile format)
862 weekly time series showing the road occupancy rates on the San Francisco Bay area freeways from 2015 to 2016.
This repository contains the full source .tsf series from the Monash Time Series Forecasting Repository converted to Apache TsFile format.
Summary
- Source dataset:
Monash-University/monash_tsf - Original source: https://zenodo.org/record/4656135
- Monash subset:
traffic_weekly - Modalities: Time-series
- Source series: 862
- Rows: 89,648 flattened timestamped observations
- Frequency:
weekly - Forecast horizon metadata: 8
- Missing-values metadata: False
- Equal-length metadata: True
- Missing target values preserved as NaN: 0
- Series length range: 104 to 104
- TsFile output: 1 file (traffic_weekly.tsfile)
Files
traffic_weekly.tsfile
TsFile Schema
| Column | Role | TsFile type |
|---|---|---|
Time |
TIME | INT64 |
series_id |
TAG | STRING |
series_name |
TAG | STRING |
start_timestamp |
TAG | STRING |
target |
FIELD | FLOAT |
Conversion Notes
- Each source
.tsfdata row is stored as one TsFile device. - Source
.tsfattributes are stored as TAG columns. - The
targetseries values are flattened into timestamped rows and stored as a FLOAT FIELD. Timeis synthesized from the source start timestamp and the.tsffrequency metadata, with millisecond precision.- Large outputs may be sharded by the TsFile conversion tool; all listed shards belong to the same logical table
traffic_weekly.
Usage
Install the Apache TsFile Python SDK (pip install tsfile) and read a
converted file:
from pathlib import Path
from tsfile import TsFileReader
path = Path("traffic_weekly.tsfile")
with TsFileReader(str(path)) as reader:
schemas = reader.get_all_table_schemas()
print("tables:", list(schemas))
table_name = next(iter(schemas))
table = schemas[table_name]
print("columns:", [c.get_column_name() for c in table.get_columns()])
with reader.query_table(table_name, ["target"], batch_size=1024) as result:
batch = result.read_arrow_batch()
if batch is not None:
print(batch.to_pandas().head())
- Downloads last month
- -