DataFrame.cumSum
Return cumulative sum over a DataFrame or Series axis.
danfo.DataFrame.cumSum(options)
Parameters | Type | Description | Default |
---|---|---|---|
options | Object | axis: 0 for row and 1 for column inplace: Boolean indicating whether to perform the operation inplace or not. Defaults to false | {axis: 1, inplace: false} |
Examples
Cumulative sum of elements along default axis (row)
Cumulative sum of elements along column axis (1)
Last updated