I\'ve got a dataframe, df, with a single column, extension. The values in extension column are cyclically increasing and decreasing
df
extension