A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/docs/dev/reference/api/pandas.ExcelFile.sheet_names.html below:

pandas.ExcelFile.sheet_names — pandas 3.0.0.dev0+2320.g2547ff324a documentation

pandas.ExcelFile.sheet_names#
property ExcelFile.sheet_names[source]#

Names of the sheets in the document.

This is particularly useful for loading a specific sheet into a DataFrame when you do not know the sheet names beforehand.

Returns:
list of str

List of sheet names in the document.

See also

ExcelFile.parse

Parse a sheet into a DataFrame.

read_excel

Read an Excel file into a pandas DataFrame. If you know the sheet names, it may be easier to specify them directly to read_excel.

Examples

>>> file = pd.ExcelFile("myfile.xlsx")
>>> file.sheet_names
["Sheet1", "Sheet2"]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4