Closed
Description
Observed in the PR #30402 and PR #27237
Annotation seems not to be able to added for sort_values
. If added, error message will pop up in CI:
pandas/core/series.py:2691: error: Signature of "sort_values" incompatible with supertype "NDFrame"
pandas/core/frame.py:4701: error: Signature of "sort_values" incompatible with supertype "NDFrame"