untuk loop while loop di python

for i in df:
    if i in df.describe().T.index:
        skewness.append(skew(df[i]))
        kurt.append(kurtosis(df[i]))
    else:
        skewness.append(np.NaN)
        kurt.append(np.NaN)
John Zarate