From 9f147a7efda1f913f995b7faf297172bde25b95d Mon Sep 17 00:00:00 2001 From: tuhinsharma121 Date: Sat, 4 May 2024 10:24:15 +0530 Subject: [PATCH 1/2] DOC: add PR01,RT03 for pandas.Index.ravel --- pandas/core/indexes/base.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index e93db22906b39..6cba67aa5cd30 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -996,9 +996,16 @@ def ravel(self, order: str_t = "C") -> Self: """ Return a view on self. + Parameters + ---------- + order : {'K', 'A', 'C', 'F'}, default 'C' + Specify the memory layout of the view. This parameter is not + implemented currently. + Returns ------- Index + A view on self. See Also -------- From a0e9b2232ece6f3061ad66449276b19e133f5a6c Mon Sep 17 00:00:00 2001 From: tuhinsharma121 Date: Sat, 4 May 2024 10:25:24 +0530 Subject: [PATCH 2/2] DOC: remove PR01,RT03 for pandas.Index.ravel --- ci/code_checks.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 936e3664cfe93..fd93eb3f7ba13 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -84,7 +84,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Index PR07" \ -i "pandas.Index.join PR07,RT03,SA01" \ -i "pandas.Index.names GL08" \ - -i "pandas.Index.ravel PR01,RT03" \ -i "pandas.Index.str PR01,SA01" \ -i "pandas.Interval PR02" \ -i "pandas.Interval.closed SA01" \