Skip to content

Commit 7284cb0

Browse files
committed
fix view
1 parent 6622f24 commit 7284cb0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
176176
-i "pandas.Timestamp.value GL08" \
177177
-i "pandas.Timestamp.year GL08" \
178178
-i "pandas.api.extensions.ExtensionArray.interpolate PR01,SA01" \
179-
-i "pandas.api.extensions.ExtensionArray.view SA01" \
180179
-i "pandas.api.interchange.from_dataframe RT03,SA01" \
181180
-i "pandas.api.types.is_bool PR01,SA01" \
182181
-i "pandas.api.types.is_categorical_dtype SA01" \

pandas/core/arrays/base.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1774,6 +1774,12 @@ def view(self, dtype: Dtype | None = None) -> ArrayLike:
17741774
ExtensionArray or np.ndarray
17751775
A view on the :class:`ExtensionArray`'s data.
17761776
1777+
See Also
1778+
--------
1779+
api.extensions.ExtensionArray.ravel: Return a flattened view on input array.
1780+
Index.view: Equivalent function for Index.
1781+
ndarray.view: New view of array with the same data.
1782+
17771783
Examples
17781784
--------
17791785
This gives view on the underlying data of an ``ExtensionArray`` and is not a

0 commit comments

Comments
 (0)