bigframes.pandas.Series.item#
- Series.item()[source]#
Return the first element of the underlying data as a Python scalar.
Examples:
>>> s = bpd.Series([1]) >>> s.item() np.int64(1)
- Returns:
The first element of Series.
- Return type:
scalar
- Raises:
ValueError – If the data is not length = 1.