Hello,
The Excel file first row is header line. If skiprows=0 in the following line, is the header line becomes the first data row in the dataframe?
If so, how can I delete the header line from the dataframe later?
I need the header line to merge with another dataframe, so I can't have skiprows=1 in pd.read_excel.
Thanks.
Dee
The Excel file first row is header line. If skiprows=0 in the following line, is the header line becomes the first data row in the dataframe?
df_Excel = pd.read_excel(filepath, sheet_name="Sheet1", skiprows=0, dtype=str, engine="openpyxl")If so, how can I delete the header line from the dataframe later?
I need the header line to merge with another dataframe, so I can't have skiprows=1 in pd.read_excel.
Thanks.
Dee
