Skip to content

Commit 85a9a01

Browse files
authored
Fixed docstrings
Updated missing description under 'See Also' for the methods
1 parent baf14bb commit 85a9a01

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/core/arrays/base.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ def _from_factorized(cls, values, original):
223223
224224
See Also
225225
--------
226-
factorize
227-
ExtensionArray.factorize
226+
factorize : Encode the object as an enumerated type or categorical variable.
227+
ExtensionArray.factorize: Encode the extension array as an enumerated type.
228228
"""
229229
raise AbstractMethodError(cls)
230230

@@ -423,7 +423,7 @@ def _values_for_argsort(self) -> np.ndarray:
423423
424424
See Also
425425
--------
426-
ExtensionArray.argsort
426+
ExtensionArray.argsort: Return the indices that would sort this array.
427427
"""
428428
# Note: this is used in `ExtensionArray.argsort`.
429429
return np.array(self)
@@ -807,8 +807,8 @@ def take(
807807
808808
See Also
809809
--------
810-
numpy.take
811-
api.extensions.take
810+
numpy.take: Take elements from an array along an axis
811+
api.extensions.take : The helper method
812812
813813
Notes
814814
-----

0 commit comments

Comments
 (0)