3530
1996-08-012019-11-30
Catalog / Time series
The daily count of spots on the Sun, recorded since 1818. Its 11-year cycle is the oldest benchmark in time-series analysis.
Rudolf Wolf defined the sunspot number in 1848 and reconstructed it back to the 1700s, making it one of the longest scientific records there is. In 1927 Udny Yule used it to introduce the autoregressive model, the AR in ARIMA: rather than a sum of hidden sine waves, each year's value depends on the previous years plus random shocks. The cycle is regular but not exactly periodic, so it is still a test for forecasting methods.
# pip install -U huggingface_hub
hf download juliensimon/silso-sunspot-number --repo-type dataset \
--local-dir sunspotsfrom datasets import load_dataset # pip install datasets
ds = load_dataset("juliensimon/silso-sunspot-number")
print(ds)import polars as pl
df = pl.read_parquet("hf://datasets/juliensimon/silso-sunspot-number@~parquet/default/train/*.parquet")
print(df.shape){
"date": "1996-08-01T00:00:00",
"sunspot_number": 26
}Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.
Sampled 2026-11-14 from juliensimon/silso-sunspot-number at revision 56899c6