We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a5bc1 commit 1fef008Copy full SHA for 1fef008
pandas/io/excel/_odfreader.py
@@ -1,5 +1,4 @@
1
import pandas as pd
2
-from pandas import compat
3
4
from pandas.io.parsers import TextParser
5
@@ -39,7 +38,7 @@ def get_sheet_by_name(self, name):
39
38
def _get_sheet(self, name):
40
"""Given a sheet name or index, return the root ODF Table node
41
"""
42
- if isinstance(name, compat.string_types):
+ if isinstance(name, str):
43
return self.get_sheet_by_name(name)
44
elif isinstance(name, int):
45
return self.get_sheet_by_index(name)
0 commit comments