From 20cf4454593592db266b0ba3a8a2331227180bc4 Mon Sep 17 00:00:00 2001 From: whooolemilk Date: Thu, 23 Mar 2023 18:53:51 +0900 Subject: [PATCH 1/7] DOC: add ddof document --- pandas/core/frame.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a2e3b6fc10e43..2ab67bdafc348 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -10563,6 +10563,7 @@ def cov( ddof : int, default 1 Delta degrees of freedom. The divisor used in calculations is ``N - ddof``, where ``N`` represents the number of elements. + This argument is applicable only when ``nan``s are not present in the dataframe. .. versionadded:: 1.1.0 From 0de94f084a9d42a4dd05e336e88a9208ade1abc6 Mon Sep 17 00:00:00 2001 From: whooolemilk Date: Mon, 27 Mar 2023 23:24:58 +0900 Subject: [PATCH 2/7] DOC: fix ddof document --- pandas/core/frame.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 2ab67bdafc348..409c48d513bad 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -10563,7 +10563,8 @@ def cov( ddof : int, default 1 Delta degrees of freedom. The divisor used in calculations is ``N - ddof``, where ``N`` represents the number of elements. - This argument is applicable only when ``nan``s are not present in the dataframe. + This argument is applicable only when ``nan``s are not present + in the dataframe. .. versionadded:: 1.1.0 From 638c029a25a32778017ccd185d032ed1f3f48aba Mon Sep 17 00:00:00 2001 From: whooolemilk Date: Mon, 27 Mar 2023 23:38:51 +0900 Subject: [PATCH 3/7] DOC: fix ddof document --- pandas/core/frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 409c48d513bad..c01ecc8fb0a02 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -10563,7 +10563,7 @@ def cov( ddof : int, default 1 Delta degrees of freedom. The divisor used in calculations is ``N - ddof``, where ``N`` represents the number of elements. - This argument is applicable only when ``nan``s are not present + This argument is applicable only when ``NaN``s are not present in the dataframe. .. versionadded:: 1.1.0 From 1ac02b563e47a9b12462951e01055f7c9fc89d07 Mon Sep 17 00:00:00 2001 From: whooolemilk Date: Tue, 28 Mar 2023 00:00:33 +0900 Subject: [PATCH 4/7] DOC: fix ddof document --- pandas/core/frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index c01ecc8fb0a02..46ec23110ed02 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -10563,7 +10563,7 @@ def cov( ddof : int, default 1 Delta degrees of freedom. The divisor used in calculations is ``N - ddof``, where ``N`` represents the number of elements. - This argument is applicable only when ``NaN``s are not present + This argument is applicable only when ``nan``\s are not present in the dataframe. .. versionadded:: 1.1.0 From ce90e5f34131918dbf8d9681f05b34a8d67d9cdc Mon Sep 17 00:00:00 2001 From: whooolemilk Date: Tue, 28 Mar 2023 00:14:36 +0900 Subject: [PATCH 5/7] DOC: fix ddof document --- pandas/core/frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 46ec23110ed02..b136bfb744052 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -10563,7 +10563,7 @@ def cov( ddof : int, default 1 Delta degrees of freedom. The divisor used in calculations is ``N - ddof``, where ``N`` represents the number of elements. - This argument is applicable only when ``nan``\s are not present + This argument is applicable only when ``nan``\\s are not present in the dataframe. .. versionadded:: 1.1.0 From 39e85d95e113fbdcc802dd40069d3bf71c608694 Mon Sep 17 00:00:00 2001 From: whooolemilk Date: Tue, 28 Mar 2023 00:29:49 +0900 Subject: [PATCH 6/7] DOC: fix ddof document --- pandas/core/frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index b136bfb744052..9f728678c6ac3 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -10563,7 +10563,7 @@ def cov( ddof : int, default 1 Delta degrees of freedom. The divisor used in calculations is ``N - ddof``, where ``N`` represents the number of elements. - This argument is applicable only when ``nan``\\s are not present + This argument is applicable only when ``nan``\ s are not present in the dataframe. .. versionadded:: 1.1.0 From 574d9545b07ae820f4937ffed45f4f1c33256124 Mon Sep 17 00:00:00 2001 From: whooolemilk Date: Tue, 28 Mar 2023 02:26:47 +0900 Subject: [PATCH 7/7] DOC: fix ddof document --- pandas/core/frame.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 9f728678c6ac3..e896369a1d876 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -10563,8 +10563,7 @@ def cov( ddof : int, default 1 Delta degrees of freedom. The divisor used in calculations is ``N - ddof``, where ``N`` represents the number of elements. - This argument is applicable only when ``nan``\ s are not present - in the dataframe. + This argument is applicable only when no ``nan`` is in the dataframe. .. versionadded:: 1.1.0