Jupyter notebook for python

Hi guys ,i’m currently doing data analysis with python course.
please help . i keep getting this error and dont know what to do.

You need to run every cell in order.

df = pd.DataFrame(data).T 
df.columns = cols

Align the above codes properly. if possible you can join everything in a single cell . It runs perfectly fine. Make sure you have the Top40.xml in the same directory as your
.ipynb file is. I am sure your program would run.

There is nothing wrong with the alignment that I can see. The OP just needs to run the cells in order. The error says nothing about a missing xml file.