Closed
Description
Pandas version checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pandas.
-
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Open `io/formats/format.py` file and see that the following:
def format_percentiles(
percentiles: (np.ndarray | Sequence[float]),
) -> list[str]:
Issue Description
The brackets of (np.ndarray | Sequence[float])
should be removed as they break the libcst parser and they are unneccesary
Expected Behavior
Removed brackets
Installed Versions
...