Removing the headers error!

Screen Link:

My Code:

headers = hn[0]
hn = hn[1:]
print(headers)
print('\n')
print(hn[0])

I expect to return the headers printed and the rest of the list printed alone but the following error appears:

What actually happened:

IndexError                                Traceback (most recent call last)
<ipython-input-20-8daabb763339> in <module>
----> 1 headers = hn[0]
      2 hn = hn[1:]
      3 print(headers)
      4 print('\n')
      5 print(hn[0])

IndexError: list index out of range

Can anyone advise please? I also attaching a screenshot of my code

Hi @muhammedkorain,

Could you please do the following: run again your code cell [4] (from csv... etc) and then run your code cell [19]. It seems something happened with hn at some step.