pandas.Series.shape — pandas 2.2.3 documentation (original) (raw)

property Series.shape[source]#

Return a tuple of the shape of the underlying data.

Examples

s = pd.Series([1, 2, 3]) s.shape (3,)