How to save dataframe without an index

Viewed 407
import numpy as np
import pandas as pd
from pandas import ExcelWriter
import matplotlib.pyplot as plt

liste = pd.read_excel("testListe.xlsx")

#delete the numbering column in dataframe

liste.to_excel("output.xlsx")
1 Answers

It seems like you want to save without index:

liste.to_excel("output.xlsx", index=False)
Related