Repository: Zeroto521/my-data-toolkit

Issue:
DEP: Drop `inplace` for `drop_inf`, no more `inplace`
<!--
Thanks for contributing a pull request!

Please follow these standard acronyms to start the commit message:

- ENH: enhancement
- BUG: bug fix
- DOC: documentation
- TYP: type annotations
- TST: addition or modification of tests
- MAINT: maintenance commit (refactoring, typos, etc.)
- BLD: change related to building
- REL: related to releasing
- API: an (incompatible) API change
- DEP: deprecate something, or remove a deprecated object
- DEV: development tool or utility
- REV: revert an earlier commit
- PERF: performance improvement
- BOT: always commit via a bot
- CI: related to CI or CD
- CLN: Code cleanup
-->

- [x] closes #531
- [x] whatsnew entry

No more `inplace` option.


Discussion:
# [Codecov](https://codecov.io/gh/Zeroto521/my-data-toolkit/pull/540?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zero) Report
> Merging [#540](https://codecov.io/gh/Zeroto521/my-data-toolkit/pull/540?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zero) (f5195fc) into [main](https://codecov.io/gh/Zeroto521/my-data-toolkit/commit/bfdc73e3b1e67bbbc9ef708016e0181be077a715?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zero) (bfdc73e) will **increase** coverage by `0.00%`.
> The diff coverage is `100.00%`.

```diff
@@           Coverage Diff           @@
##             main     #540   +/-   ##
=======================================
  Coverage   99.63%   99.63%           
=======================================
  Files          60       60           
  Lines         820      824    +4     
  Branches       92       92           
=======================================
+ Hits          817      821    +4     
  Misses          1        1           
  Partials        2        2           
```


| [Impacted Files](https://codecov.io/gh/Zeroto521/my-data-toolkit/pull/540?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zero) | Coverage Δ | |
|---|---|---|
| [dtoolkit/accessor/dataframe/drop\_inf.py](https://codecov.io/gh/Zeroto521/my-data-toolkit/pull/540/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zero#diff-ZHRvb2xraXQvYWNjZXNzb3IvZGF0YWZyYW1lL2Ryb3BfaW5mLnB5) | `100.00% <100.00%> (ø)` | |
| [dtoolkit/accessor/series/drop\_inf.py](https://codecov.io/gh/Zeroto521/my-data-toolkit/pull/540/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zero#diff-ZHRvb2xraXQvYWNjZXNzb3Ivc2VyaWVzL2Ryb3BfaW5mLnB5) | `100.00% <100.00%> (ø)` | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/Zeroto521/my-data-toolkit/pull/540?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zero).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zero)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/Zeroto521/my-data-toolkit/pull/540?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zero). Last update [bfdc73e...f5195fc](https://codecov.io/gh/Zeroto521/my-data-toolkit/pull/540?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zero). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zero).


Resolving patch:
diff --git a/dtoolkit/accessor/dataframe/drop_inf.py b/dtoolkit/accessor/dataframe/drop_inf.py
--- a/dtoolkit/accessor/dataframe/drop_inf.py
+++ b/dtoolkit/accessor/dataframe/drop_inf.py
@@ -63,6 +63,10 @@ def drop_inf(
     inplace : bool, default False
         If True, do operation inplace and return None.
 
+        .. deprecated:: 0.0.17
+            'inplace' is deprecated and will be removed in 0.0.17.
+            (Warning added DToolKit 0.0.16)
+
     Returns
     -------
     DataFrame or None
diff --git a/dtoolkit/accessor/series/drop_inf.py b/dtoolkit/accessor/series/drop_inf.py
--- a/dtoolkit/accessor/series/drop_inf.py
+++ b/dtoolkit/accessor/series/drop_inf.py
@@ -35,6 +35,10 @@ def drop_inf(
     inplace : bool, default False
         If True, do operation inplace and return None.
 
+        .. deprecated:: 0.0.17
+            'inplace' is deprecated and will be removed in 0.0.17.
+            (Warning added DToolKit 0.0.16)
+
     Returns
     -------
     Series or None


Test patch: