Pandas: Looking up the list of sheets in an excel file

The new version of Pandas uses the following interface to load Excel files: read_excel(‘path_to_file.xls’, ‘Sheet1’, index_col=None, na_values=[‘NA’]) but what if I don’t know the sheets that are available? For example, I am working with excel files that the following sheets Data 1, Data 2 …, Data N, foo, bar but I don’t know N a … Read more

Return empty cell from formula in Excel

I need to return an empty cell from an Excel formula, but it appears that Excel treats an empty string or a reference to an empty cell differently than a true empty cell. So essentially I need something like =IF(some_condition,EMPTY(),some_value) I tried to do things such as =IF(some_condition,””,some_value) and =IF(some_condition,,some_value) and assuming B1 is an … Read more

Shortcut to Apply a Formula to an Entire Column in Excel [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 7 years ago. Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting … Read more