Skip to content

Commit

Permalink
changing from Index to Series for core/basy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KeiOshima committed Apr 20, 2024
1 parent a67637c commit 22450c3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pandas/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,10 @@ def ndim(self) -> Literal[1]:
See Also
--------
Index.size: Return the number of elements in the underlying data.
Index.shape: Return a tuple of the shape of the underlying data.
Index.dtype: Return the dtype object of the underlying data.
Index.values: Return an array representing the data in the Index.
Series.size: Return the number of elements in the underlying data.
Series.shape: Return a tuple of the shape of the underlying data.
Series.dtype: Return the dtype object of the underlying data.
Series.values: Return Series as ndarray or ndarray-like depending on the dtype.
Examples
--------
Expand Down Expand Up @@ -449,10 +449,10 @@ def size(self) -> int:
See Also
--------
Index.ndim: Number of dimensions of the underlying data, by definition 1.
Index.shape: Return a tuple of the shape of the underlying data.
Index.dtype: Return the dtype object of the underlying data.
Index.values: Return an array representing the data in the Index.
Series.ndim: Number of dimensions of the underlying data, by definition 1.
Series.shape: Return a tuple of the shape of the underlying data.
Series.dtype: Return the dtype object of the underlying data.
Series.values: Return Series as ndarray or ndarray-like depending on the dtype.
Examples
--------
Expand Down

0 comments on commit 22450c3

Please sign in to comment.