add xlsx to pandas code example Example: pandas excel writer append in row startrow = writer.sheets['Sheet1'].max_row