Skip to content

Commit 08636db

Browse files
Fix pandas.api.extensions.ExtensionArray._values_for_factorize
Add 'See Also' section
1 parent e956c17 commit 08636db

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
193193
-i "pandas.Timestamp.tzinfo GL08" \
194194
-i "pandas.Timestamp.value GL08" \
195195
-i "pandas.Timestamp.year GL08" \
196-
-i "pandas.api.extensions.ExtensionArray._values_for_factorize SA01" \
197196
-i "pandas.api.extensions.ExtensionArray.astype SA01" \
198197
-i "pandas.api.extensions.ExtensionArray.dropna RT03,SA01" \
199198
-i "pandas.api.extensions.ExtensionArray.dtype SA01" \

pandas/core/arrays/base.py

+4
Original file line numberDiff line numberDiff line change
@@ -1439,6 +1439,10 @@ def _values_for_factorize(self) -> tuple[np.ndarray, Any]:
14391439
`-1` and not included in `uniques`. By default,
14401440
``np.nan`` is used.
14411441
1442+
See Also
1443+
--------
1444+
util.hash_pandas_object : Hash the pandas object.
1445+
14421446
Notes
14431447
-----
14441448
The values returned by this method are also used in

0 commit comments

Comments
 (0)