We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c78a98 + 8bc8025 commit c525417Copy full SHA for c525417
pandas/io/html.py
@@ -103,7 +103,11 @@ def _get_skiprows(skiprows):
103
elif skiprows is None:
104
return 0
105
raise TypeError(
106
+<<<<<<< HEAD
107
f"{repr(type(skiprows).__name__)} is not a valid type for skipping rows"
108
+=======
109
+ "%r is not a valid type for skipping rows" % type(skiprows).__name__
110
+>>>>>>> 8bc80250a1760b6ee0fbdd26792d122b7adf8244
111
)
112
113
@@ -133,7 +137,11 @@ def _read(obj):
133
137
except (TypeError, ValueError):
134
138
pass
135
139
else:
140
136
141
raise TypeError(f"Cannot read object of type {repr(type(obj).__name__)}")
142
143
+ raise TypeError("Cannot read object of type %r" % type(obj).__name__)
144
145
return text
146
147
0 commit comments