From 7a5a95116c1ffecda5703a2068f262b540ed7681 Mon Sep 17 00:00:00 2001 From: Zero Date: Mon, 11 Oct 2021 09:40:01 +0800 Subject: [PATCH 1/5] DOC: cancel replace's doc list item text bold effect --- pandas/core/shared_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py index 7d89f2e8b7789..9c9e70789390d 100644 --- a/pandas/core/shared_docs.py +++ b/pandas/core/shared_docs.py @@ -492,7 +492,7 @@ ------ AssertionError * If `regex` is not a ``bool`` and `to_replace` is not - ``None``. + ``None``. TypeError * If `to_replace` is not a scalar, array-like, ``dict``, or ``None`` From 91c9cc315bb9caa96cd515bc75d03a373de1948b Mon Sep 17 00:00:00 2001 From: Zero Date: Mon, 11 Oct 2021 09:41:17 +0800 Subject: [PATCH 2/5] DOC: cancel series nlargest's doc list item text bold effect --- pandas/core/series.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index 6f48da82169b2..623e2ef3ea50b 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -3692,11 +3692,11 @@ def nlargest(self, n=5, keep="first") -> Series: Series of `n` elements: - ``first`` : return the first `n` occurrences in order - of appearance. + of appearance. - ``last`` : return the last `n` occurrences in reverse - order of appearance. + order of appearance. - ``all`` : keep all occurrences. This can result in a Series of - size larger than `n`. + size larger than `n`. Returns ------- From b887e789683bc4e17c163f79bb990bd6258a194c Mon Sep 17 00:00:00 2001 From: Zero Date: Mon, 11 Oct 2021 09:41:59 +0800 Subject: [PATCH 3/5] DOC: cancel series nsmallest's doc list item text bold effect --- .gitignore | 2 ++ pandas/core/series.py | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2c337be60e94e..8f30ecb128dbf 100644 --- a/.gitignore +++ b/.gitignore @@ -120,3 +120,5 @@ doc/build/html/index.html doc/tmp.sv env/ doc/source/savefig/ + +.history diff --git a/pandas/core/series.py b/pandas/core/series.py index 623e2ef3ea50b..6aefc2c7a5788 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -3790,11 +3790,11 @@ def nsmallest(self, n: int = 5, keep: str = "first") -> Series: Series of `n` elements: - ``first`` : return the first `n` occurrences in order - of appearance. + of appearance. - ``last`` : return the last `n` occurrences in reverse - order of appearance. + order of appearance. - ``all`` : keep all occurrences. This can result in a Series of - size larger than `n`. + size larger than `n`. Returns ------- From 9ae4a5a7c1fe9358c7b6d3bda856a4f52f45b996 Mon Sep 17 00:00:00 2001 From: Zero Date: Mon, 11 Oct 2021 09:43:45 +0800 Subject: [PATCH 4/5] DOC: cancel dataframe nlargest's doc list item text bold effect --- 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 76a00071c8adc..b266702f9a6d3 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -6597,7 +6597,7 @@ def nlargest(self, n, columns, keep: str = "first") -> DataFrame: - `first` : prioritize the first occurrence(s) - `last` : prioritize the last occurrence(s) - ``all`` : do not drop any duplicates, even it means - selecting more than `n` items. + selecting more than `n` items. Returns ------- From accf59c8d1c581a056d8202d1fed95fdfae1d897 Mon Sep 17 00:00:00 2001 From: Zero Date: Mon, 11 Oct 2021 11:02:51 +0800 Subject: [PATCH 5/5] drop local script history --- .gitignore | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8f30ecb128dbf..2c337be60e94e 100644 --- a/.gitignore +++ b/.gitignore @@ -120,5 +120,3 @@ doc/build/html/index.html doc/tmp.sv env/ doc/source/savefig/ - -.history