pandas.Series.shape#

property Series.shape[源代码]#

返回底层数据形状的元组。

Examples

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