From 2d1f8b94060eed4c38dae7cd0cc3c8da11ae38e5 Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Sat, 20 Apr 2024 23:56:46 +0530 Subject: [PATCH 1/2] DOC: added see also section for HDFStore.get --- pandas/io/pytables.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 28eb467236832..25808f5b4a132 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -786,6 +786,11 @@ def get(self, key: str): object Same type as object stored in file. + See Also + -------- + HDFStore.get_node : Returns the node with the key. + HDFStore.get_storer : Returns the storer object for a key. + Examples -------- >>> df = pd.DataFrame([[1, 2], [3, 4]], columns=["A", "B"]) From ab37f539bb8fdbcf7bc0e9042766eb3388e5822f Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Sat, 20 Apr 2024 23:57:37 +0530 Subject: [PATCH 2/2] DOC: removed HDFStore.get --- ci/code_checks.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 15a84477efa30..085c21e7eaa14 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -134,7 +134,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DatetimeTZDtype.tz SA01" \ -i "pandas.DatetimeTZDtype.unit SA01" \ -i "pandas.Grouper PR02" \ - -i "pandas.HDFStore.get SA01" \ -i "pandas.HDFStore.groups SA01" \ -i "pandas.HDFStore.info RT03,SA01" \ -i "pandas.HDFStore.keys SA01" \