TYP: Add typing.overload signatures to DataFrame/Series.clip
This adds overloads so that a type checker can determine whether clip returns a  Series/DataFrame or None based on the value of the inplace argument.

pre-commit.ci autofix Thank you @caneff ! Thanks for the quick review and merge!

On Mon, Sep 4, 2023, 1:23 PM Torsten Wörtwein ***@***.***>
wrote:

> Thank you @caneff <https://github.com/caneff> !
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/pandas-dev/pandas/pull/55002#issuecomment-1705560449>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABG4SH2C4P2WMN76HMQQ4BTXYYFCZANCNFSM6AAAAAA4KRCADU>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
