DEV Community

Nilotpal Choudhury
Nilotpal Choudhury

Posted on

Answer: How to specify column names while reading an Excel file using Pandas?

This thread is 5 years old and outdated now, but still shows up on the top of the list from a generic search. So I am adding this note. Pandas now (v0.22) has a keyword to specify column names at parsing Excel files. Use:

import pandas as pd
xl =

Top comments (0)