GH10559: Minor improvement: Change read_excel sheet name by abarber4gh · Pull Request #16442 · pandas-dev/pandas (original) (raw)

There's also the deprecated sphinx directive. I don't see any uses of that, but we can give it a shot here. I think it'd be like

sheetname : string, int, mixed list of strings/ints, or None, default 0

    .. deprecated:: 0.21.0
       Use `sheet_name` instead

sheet_name : string, int, mixed list of strings/ints, or None, default 0