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 4e46a9d commit 9ce17b7Copy full SHA for 9ce17b7
pandas/core/indexes/range.py
@@ -187,7 +187,7 @@ def _format_data(self, name=None):
187
# we are formatting thru the attributes
188
return None
189
190
- def _format_with_header(self, header, na_rep="NaN") -> List[str]:
+ def _format_with_header(self, header: List[str], na_rep: str = "NaN") -> List[str]:
191
first_val_str = str(self._range[0])
192
last_val_str = str(self._range[-1])
193
max_length = max(len(first_val_str), len(last_val_str))
0 commit comments