exclude index column pandas

df.read_csv(filename, index=False)  

Here is what the above code is Doing:
1. We’re using the read_csv function from the pandas library to read the CSV file.
2. We’re specifying that we want the CSV file to be read into a DataFrame.
3. We’re specifying that we don’t want the first row of the CSV file to be used as the header.
4. We’re specifying that we want the index column to be ignored.
5. We’re storing the DataFrame in the variable df.