open_in_new
content_copy
df = df[100:] df['Returns'] = df['Price'].pct_change() df = df[1:]