Trying to store the header row of csv
file, i.e. it's first row in a list after reading the file using reader()
.
Tried using next()
and filednames()
but none worked.
Could anyone guide me how to achieve this?
Thanks to anyone who gives their time.