[ Web Proxy ]
URL:
Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.pandas.Index.size.html [Back]  [Original]

bigframes.pandas.Index.size — bigframes documentation
Back to top
Search the docs ...:

bigframes.pandas.Index.size#

property Index.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

For Index:

>>> idx = bpd.Index([1, 2, 3])
>>> idx
Index([1, 2, 3], dtype='Int64')
Returns:

Number of elements

Return type:

int


Web Proxy Viewer  |  New URL  |  Original Page