From d1972ffddb2ccc1e8be5cf11099c9bb615b102d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dea=20Mar=C3=ADa=20L=C3=A9on?= Date: Thu, 3 Aug 2023 12:16:49 +0200 Subject: [PATCH] Example for ExtensionArray --- ci/code_checks.sh | 1 - pandas/core/arrays/base.py | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 59e707c32ceb6..73be3c47db397 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -64,7 +64,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then MSG='Partially validate docstrings (EX01)' ; echo $MSG $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=EX01 --ignore_functions \ pandas.io.stata.StataWriter.write_file \ - pandas.api.extensions.ExtensionArray \ RET=$(($RET + $?)) ; echo $MSG "DONE" fi diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index 325edba670fce..7babce46a3977 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -239,6 +239,12 @@ class ExtensionArray: By default, ExtensionArrays are not hashable. Immutable subclasses may override this behavior. + + Examples + -------- + Please see the following: + + https://github.com/pandas-dev/pandas/blob/main/pandas/tests/extension/list/array.py """ # '_typ' is for pandas.core.dtypes.generic.ABCExtensionArray.