bigframes.geopandas.GeoSeries.size#

property GeoSeries.size: int#

Return the number of elements in the underlying data.

Examples:

For Series:

>>> s = bpd.Series(['Ant', 'Bear', 'Cow'])
>>> s
0     Ant
1    Bear
2     Cow
dtype: string
>>> s.size
3

For Index:

>>> idx = bpd.Index(bpd.Series([1, 2, 3]))
>>> idx.size
3
Returns:

Return the number of elements in the underlying data.

Return type:

int