找到pandas源码文件
excel.py
函数起始大概在源码551行,
贴上源码 函数_format_regular_rows
def _format_regular_rows(self):
has_aliases = isinstance(self.header, (tuple, list, np.ndarray, Index))
if has_aliases or self.header:
self.rowcounter += 1
# output index and index_label?
if self.index:
# check ali