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")
最佳答案
看起来你想在没有 index
的情况下保存:
liste.to_excel("output.xlsx", index=False)
关于python - 如何在没有索引的情况下保存数据框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58542479/