I don't know how those tests work in detail, but one difference is that ADF test uses null hypothesis that a series contains a unit root, while KPSS test uses null hypothesis that the series is stationary. Here is wikipedia passage that might be useful:
Try the augmented Dickey-Fuller test. Include a trend. The results from dfuller also support rejecting the null hypothesis, though the p-value with four lags is close to 0.10. The problem with the ADF test is low power against the stationary alternative (especially when you include a trend). So, we try the dfgls test.
arch.test 5 Examples # ADF test for AR(1) process x
PySpark Exercises - 101 PySpark Exercises for Data Analysis. Jagdeesh. 101 PySpark exercises are designed to challenge your logical muscle and to help internalize data manipulation with python's favorite package for data analysis. The questions are of 3 levels of difficulties with L1 being the easiest to L3 being the hardest.
To check for stationarity, we use the Kwiatkowski-Phillips-Schmidt-Shin (KPSS) test and the Augmented Dickey-Fuller (ADF) test. For the data to be suitable for VAR modelling, we need each of the variables in the multivariate time series to be stationary. In both tests, we need the test statistic to be less than the critical values to say
KPSS test statistic. We use two types of approximations depending on whether we estimate the long-run variance or not. In the known variance case we apply a very simple Laplace inversion formula, while in the unknown case we use saddlepoint approximation to calculate the right-hand tail of the distribution of the KPSS test statistic.
. 324 81 365 263 138 497 145 210

kpss test vs adf test