How to load an excel sheet with chart in python?

Viewed 20

I have an excel file(a.xlsx) with sheets name s1 and s2 respectively. s1 contains data. Using this data I have created a bar chart in s2.

Now I am trying to load the s2 sheet in python as follows:

pandas.read_excel("a.xlsx",sheet_name = "s2")

Which gives me a ValueError: Worksheet not found

How to get read of this? Actually I want to save that chart in png format. Can anyone please help me?

0 Answers
Related