Please correct

Course Name: Futures Trading: Concepts & Strategies, Section No: 21, Unit No: 13, Unit type: Exercise

as it is, there is a typo

line 22 says: 

futures_data['pct_diff'] = (futures_data['price'] / futures_data.iloc[0]['data_diff']) - 1

last one should be date_diff

Thankyou for pointing this out, Sebastian. This has been fixed.