I want to read all sheets in a a excel and make it as one data frame but one catch here is that only in the first sheet the headers start from 4th line and other sheets i want to eliminate only the header since we have it from first sheet.
I tried using
df = pd.concat(pd.read_excel('abc.xlsx', sheet_name=None,header = 4), ignore_index=True),
I get some random columns as output.
Ideally i want to
sheets_dict = pd.read_excel('abc.xlsx', sheet_name=None)
full_table = pd.DataFrame()
for name, sheet in sheets_dict.items():
if name = "Sheet1":
skip first four lines
else
skip only 1 line.
Can someone help me how to do this in python for pandas.