Skip to content

Commit c5e31fc

Browse files
committed
fix typos and formatting of method and class
1 parent 32f9a21 commit c5e31fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/arrays/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ExtensionArray:
3636
"""
3737
Abstract base class for custom 1-D array types.
3838
39-
pandas will recognize instances of this claspandas.api.extensions.ExtensionArray.views as proper arrays
39+
pandas will recognize instances of this class as proper arrays
4040
with a custom type and will not attempt to coerce them to objects. They
4141
may be stored directly inside a :class:`DataFrame` or :class:`Series`.
4242
@@ -876,7 +876,7 @@ def view(self, dtype=None) -> Union[ABCExtensionArray, np.ndarray]:
876876
Returns
877877
-------
878878
ExtensionArray
879-
The array calling .view.
879+
A view of the :class:`ExtensionArray` calling :meth:`view`.
880880
"""
881881
# NB:
882882
# - This must return a *new* object referencing the same data, not self.

0 commit comments

Comments
 (0)