'How to count cells in a specific range with Pandas in python?

For example, I want to count the filled cells in the range C5 to C25 or D8 to D17. I can't use header names.

How can I do that?

dataxls = pd.read_excel('Racklist.xlsx', header=None)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source