pandas.Series.shape — pandas 3.0.0.dev0+2204.g51763f94fe documentation (original) (raw)
- API reference
- Series
- pandas.Series.shape
property Series.shape[source]#
Return a tuple of the shape of the underlying data.
See also
Number of dimensions of the underlying data.
Return the number of elements in the underlying data.
Return the number of bytes in the underlying data.
Examples
s = pd.Series([1, 2, 3]) s.shape (3,)