# Sunspot Number (1848)

> The daily count of spots on the Sun, recorded since 1818. Its 11-year cycle is the oldest benchmark in time-series analysis.

Page: https://mralbu.github.io/ai-datasets/d/sunspots

## Key facts

- Category: Time series
- Task: Univariate forecasting of a quasi-periodic series
- Creators: Rudolf Wolf (1848); kept by SILSO, Royal Observatory of Belgium
- Size: 76,275 daily values (1818–2026); a monthly series goes back to 1749
- Splits: train 76,275
- Input: Date
- Labels: Daily total sunspot number, with its standard deviation and number of observing stations
- License: CC BY-NC 4.0 (SILSO)
- Paper: [On a Method of Investigating Periodicities in Disturbed Series, with special reference to Wolfer's Sunspot Numbers (Yule, 1927)](https://royalsocietypublishing.org/doi/10.1098/rsta.1927.0007)
- Homepage: https://www.sidc.be/SILSO/
- Hugging Face: [juliensimon/silso-sunspot-number](https://huggingface.co/datasets/juliensimon/silso-sunspot-number)
- Sampled at Hub revision 56899c668cbfcfa1defb76e657f992955e412fad (2026-11-14)

## Why it matters

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.

## Worth knowing

- The sample shows two whole solar cycles, numbers 23 and 24, from the minimum of 1996 to the minimum of 2019.
- The cycle averages about 11 years but has ranged from about 9 to 14, and peak heights vary a lot. Cycle 24 was the weakest in a century.
- At a minimum many days have no spots at all: the daily number is exactly 0.
- In 2015 SILSO released version 2.0, which recalibrated the whole series and dropped a long-standing 0.6 scale factor, so values are higher than in older copies.
- During the Maunder Minimum, about 1645 to 1715, sunspots almost disappeared.

## Get the data

```bash
# pip install -U huggingface_hub
hf download juliensimon/silso-sunspot-number --repo-type dataset \
  --local-dir sunspots
```

```python
from datasets import load_dataset   # pip install datasets

ds = load_dataset("juliensimon/silso-sunspot-number")
print(ds)
```

```python
import polars as pl

df = pl.read_parquet("hf://datasets/juliensimon/silso-sunspot-number@~parquet/default/train/*.parquet")
print(df.shape)
```

## Related datasets

- [Yearly mean sunspot number](https://www.sidc.be/SILSO/datafiles): from 1700; Yule used its older version for 1749–1924
- [Mauna Loa CO₂ (Keeling curve)](https://gml.noaa.gov/ccgg/trends/): 1958–, another long natural series with trend and seasonality; not on Hugging Face in a viewer-readable copy

## Landmark papers

- [On a Method of Investigating Periodicities in Disturbed Series (Yule)](https://royalsocietypublishing.org/doi/10.1098/rsta.1927.0007) (1927)

## Papers on this site that use it

- [Yule's autoregression (1927)](https://mralbu.github.io/ai-datasets/p/yule-1927.md): The first autoregressive model, fitted to sunspot numbers, and the ancestor of every forecasting model since.
