-
- Notifications
You must be signed in to change notification settings - Fork 19.4k
Closed
Labels
BugTypingtype annotations, mypy/pyright type checkingtype annotations, mypy/pyright type checkinggood first issue
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
...
twoertwein
Metadata
Metadata
Assignees
Labels
BugTypingtype annotations, mypy/pyright type checkingtype annotations, mypy/pyright type checkinggood first issue