Pandas version checks

  • [X] I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

pandas.read_excel

Documentation problem

The doc states that the type of index_col is "int, list of int, default None", indicating the index of the column(s). However, using column name(s) also works.

Suggested fix for documentation

Add string type for index_col and explain both column index(es) and name(s) work for index_col.

Comment From: NikolayBoev

take