The Excel file created using the following DataFrame has the first column filled with index values of the DataFrame.
df = pd.DataFrame({'Data': [10, 20, 30, 20, 15, 30, 45]})
Current output
Data
0 10
1 20
2 30
3 20
4 15
5 30
6 45
Expected output
Data
10
20
30
20
15
30
45
How to remove index column?