para loop para o loop em 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