Series.sum
- Series.sum(numeric_only: bool | None = None) Series [source]
Return the sum of the Series values
TODO - implement remainder of pandas arguments, currently non-numerics are not supported
Returns
- float
sum of all values
See Also
Examples
>>> from tests import OPENSEARCH_TEST_CLIENT
>>> s = oml.DataFrame(OPENSEARCH_TEST_CLIENT, 'flights')['AvgTicketPrice'] >>> int(s.sum()) 8204364