AttributeError: 'Index' object has no attribute 'tz_localize'

Course Name: Python for Trading: Basic, Section No: 5, Unit No: 7, Unit type: Notebook

when running this notebook online I get this error:

"

AttributeError: 'Index' object has no attribute 'tz_localize'

"

Hi Sebastian,

We have made updates to the notebook you were working with. Please feel free to try running the updated notebook now.