Skip to content

Commit

Permalink
STY - Add repr to html.py and parsers.py - pandas-dev#29953
Browse files Browse the repository at this point in the history
  • Loading branch information
JvPy committed Dec 5, 2019
2 parents 198c0a4 + 029ee4d commit 848e542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pandas/io/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _get_skiprows(skiprows):
elif skiprows is None:
return 0
raise TypeError(
f"{repr(% type(skiprows).__name__)} is not a valid type for skipping rows"
f"{repr(type(skiprows).__name__)} is not a valid type for skipping rows"
)


Expand Down
2 changes: 1 addition & 1 deletion pandas/io/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3600,7 +3600,7 @@ def __init__(self, f, colspecs, delimiter, comment, skiprows=None, infer_nrows=1
self.comment = comment
if colspecs == "infer":
self.colspecs = self.detect_colspecs(
infer_nrows=infer_nrows, skiprows=skiprows
infer_nrows=infer_nrows, skiprows=skiprow
)
else:
self.colspecs = colspecs
Expand Down

0 comments on commit 848e542

Please sign in to comment.