Skip to content

Commit 9ce17b7

Browse files
committed
add more types
1 parent 4e46a9d commit 9ce17b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/range.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def _format_data(self, name=None):
187187
# we are formatting thru the attributes
188188
return None
189189

190-
def _format_with_header(self, header, na_rep="NaN") -> List[str]:
190+
def _format_with_header(self, header: List[str], na_rep: str = "NaN") -> List[str]:
191191
first_val_str = str(self._range[0])
192192
last_val_str = str(self._range[-1])
193193
max_length = max(len(first_val_str), len(last_val_str))

0 commit comments

Comments
 (0)