bigframes.pandas.DataFrame.size#

property DataFrame.size: int#

Return an int representing the number of elements in this object.

Examples:

>>> s = bpd.Series({'a': 1, 'b': 2, 'c': 3})
>>> s.size
3
>>> df = bpd.DataFrame({'col1': [1, 2], 'col2': [3, 4]})
>>> df.size
4
Returns:

Return the number of rows if Series. Otherwise return the number of

rows times number of columns if DataFrame.

Return type:

int