From 7c05a805d1122e3d069c791830a66462d3549df3 Mon Sep 17 00:00:00 2001 From: RajatS Mukherjee Date: Wed, 21 Jun 2023 06:16:33 +0000 Subject: [PATCH 1/4] Updated DataFrame.div docstrings --- pandas/core/ops/docstrings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/ops/docstrings.py b/pandas/core/ops/docstrings.py index 9a469169151c3..bd2e532536d84 100644 --- a/pandas/core/ops/docstrings.py +++ b/pandas/core/ops/docstrings.py @@ -463,7 +463,7 @@ def make_flex_doc(op_name: str, typ: str) -> str: Equivalent to ``{equiv}``, but with support to substitute a fill_value for missing data in one of the inputs. With reverse version, `{reverse}`. -Among flexible wrappers (`add`, `sub`, `mul`, `div`, `mod`, `pow`) to +Among flexible wrappers (`add`, `sub`, `mul`, `div`, `floordiv`, `mod`, `pow`) to arithmetic operators: `+`, `-`, `*`, `/`, `//`, `%`, `**`. Parameters From f82ffe5255ce7b683604dea8f84b78a19793c8a8 Mon Sep 17 00:00:00 2001 From: RajatS Mukherjee Date: Wed, 21 Jun 2023 06:26:07 +0000 Subject: [PATCH 2/4] Tagged changes to v2.0.3 --- doc/source/whatsnew/v2.0.3.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 3e12af946e661..bb590d6d2ce07 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -36,7 +36,7 @@ Bug fixes Other ~~~~~ -- +- Added ``floordiv`` in :class:`pandas.DataFrame.div` docstring to match operation names with operators .. --------------------------------------------------------------------------- .. _whatsnew_203.contributors: From 95d71bb0623e41fca7c900d54cb10de06845bb90 Mon Sep 17 00:00:00 2001 From: RajatS Mukherjee Date: Wed, 21 Jun 2023 07:24:29 +0000 Subject: [PATCH 3/4] Removed whatsnew comment --- doc/source/whatsnew/v2.0.3.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index bb590d6d2ce07..6f0e5fe043ceb 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -36,7 +36,6 @@ Bug fixes Other ~~~~~ -- Added ``floordiv`` in :class:`pandas.DataFrame.div` docstring to match operation names with operators .. --------------------------------------------------------------------------- .. _whatsnew_203.contributors: From 990cc11e8d3cfafc9f5ec94e42ec8364b42d6aaa Mon Sep 17 00:00:00 2001 From: Rajat Subhra Mukherjee <136445532+rsm-23@users.noreply.github.com> Date: Wed, 21 Jun 2023 15:18:40 +0530 Subject: [PATCH 4/4] Update v2.0.3.rst --- doc/source/whatsnew/v2.0.3.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 6f0e5fe043ceb..3e12af946e661 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -36,6 +36,7 @@ Bug fixes Other ~~~~~ +- .. --------------------------------------------------------------------------- .. _whatsnew_203.contributors: