From f744d9fd1f79165896f01bb5b12ef40c9dce2393 Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Tue, 23 Apr 2024 22:58:27 +0530 Subject: [PATCH 1/2] DOC: add SA01 to HDFStore.walk --- pandas/io/pytables.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 75e9b779e5094..d585c59dd5581 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -1595,6 +1595,10 @@ def walk(self, where: str = "/") -> Iterator[tuple[str, list[str], list[str]]]: leaves : list Names (strings) of the pandas objects contained in `path`. + See Also + -------- + HDFStore.info : Prints detailed information on the store. + Examples -------- >>> df1 = pd.DataFrame([[1, 2], [3, 4]], columns=["A", "B"]) From c696001ea91ee5a12c6bf84960427aa4dfcdd4f1 Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Tue, 23 Apr 2024 22:59:26 +0530 Subject: [PATCH 2/2] DOC: remove SA01 of HDFStore.walk --- ci/code_checks.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 5993fabfc9d6c..24dacd6b48a42 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -118,7 +118,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DatetimeTZDtype.tz SA01" \ -i "pandas.DatetimeTZDtype.unit SA01" \ -i "pandas.Grouper PR02" \ - -i "pandas.HDFStore.walk SA01" \ -i "pandas.Index PR07" \ -i "pandas.Index.T SA01" \ -i "pandas.Index.append PR07,RT03,SA01" \