Skip to content

Commit b8b096e

Browse files
authored
Update type hint in io/formats/format.py (#57249)
* Update type hint in format.py The brackets around the type hint broke the libcst parser. Since the brackets are not necessary for the type hint, they have been removed * Update v2.2.1.rst * Undo update to v2.2.1.rst Type annotation changes are not added to change log
1 parent 0a841ae commit b8b096e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/format.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1546,7 +1546,7 @@ def _format_strings(self) -> list[str]:
15461546

15471547

15481548
def format_percentiles(
1549-
percentiles: (np.ndarray | Sequence[float]),
1549+
percentiles: np.ndarray | Sequence[float],
15501550
) -> list[str]:
15511551
"""
15521552
Outputs rounded and formatted percentiles.

0 commit comments

Comments
 (0)