Question: what does adf test do?
Answer: In statistics and econometrics, an augmented Dickey–Fuller test (ADF) tests the null hypothesis that a unit root is present in a time series sample. ... It is an augmented version of the Dickey–Fuller test for a larger and more complicated set of time series models.