Sunspots are temporary phenomena on the Sun's photosphere that appear as spots darker than the surrounding areas. They are regions of reduced surface temperature caused by concentrations of magnetic field flux that inhibit convection. Sunspots usually appear in pairs of opposite magnetic polarity. Their number varies according to the approximately 11-year solar cycle.
The number of sunspots are recorded every month and the data is available from 1749 to 2019. You can download the dataset from this link https://www.kaggle.com/robervalt/sunspots
Due to high file size this jupyter notebook cannot be viewed here.
You can copy the github link of this ipynb file and paste it in this link https://nbviewer.jupyter.org/
or you can directly visit this link to view the file https://nbviewer.jupyter.org/github/krishnasrujan/predicting-sunspots-using-arima/blob/master/predicting-sunspots-using-arima.ipynb