cumSum
The CumSum Operation
Computes the cumulative sums of the values in each column from the DataColumn from the first cell to the last cell.
NOTE: If the column contains nullable values and skipNA is set to true, null and NaN values are skipped when computing the cumulative sum. When false, all values after the first NA will be NaN (for Double and Float columns) or null (for other columns).
cumSum only works on columns that contain solely primitive numbers.
Similar to sum, Byte- and Short-columns are converted to Int.
Return
A new DataColumn of the same type with the cumulative sums.
Parameters
Whether to skip null and NaN values (default: true).
See also
The CumSum Operation
Computes the cumulative sums of the values in each column from the DataFrame from the first cell to the last cell.
NOTE: If the column contains nullable values and skipNA is set to true, null and NaN values are skipped when computing the cumulative sum. When false, all values after the first NA will be NaN (for Double and Float columns) or null (for other columns).
cumSum only works on columns that contain solely primitive numbers.
Similar to sum, Byte- and Short-columns are converted to Int.
Return
A new DataFrame of the same type with the cumulative sums.
Parameters
The selection of the columns to apply the cumSum operation to. If not provided, cumSum will be applied to all primitive columns at any depth.
Whether to skip null and NaN values (default: true).
See also
The CumSum Operation
Computes the cumulative sums of the values in each column from the DataFrame from the first cell to the last cell.
NOTE: If the column contains nullable values and skipNA is set to true, null and NaN values are skipped when computing the cumulative sum. When false, all values after the first NA will be NaN (for Double and Float columns) or null (for other columns).
cumSum only works on columns that contain solely primitive numbers.
Similar to sum, Byte- and Short-columns are converted to Int.
Return
A new DataFrame of the same type with the cumulative sums.
Parameters
Whether to skip null and NaN values (default: true).
See also
The CumSum Operation
Computes the cumulative sums of the values in each column from the GroupBy from the first cell to the last cell.
NOTE: If the column contains nullable values and skipNA is set to true, null and NaN values are skipped when computing the cumulative sum. When false, all values after the first NA will be NaN (for Double and Float columns) or null (for other columns).
cumSum only works on columns that contain solely primitive numbers.
Similar to sum, Byte- and Short-columns are converted to Int.
Return
A new GroupBy of the same type with the cumulative sums.
Parameters
The selection of the columns to apply the cumSum operation to. If not provided, cumSum will be applied to all primitive columns at any depth.
Whether to skip null and NaN values (default: true).
See also
The CumSum Operation
Computes the cumulative sums of the values in each column from the GroupBy from the first cell to the last cell.
NOTE: If the column contains nullable values and skipNA is set to true, null and NaN values are skipped when computing the cumulative sum. When false, all values after the first NA will be NaN (for Double and Float columns) or null (for other columns).
cumSum only works on columns that contain solely primitive numbers.
Similar to sum, Byte- and Short-columns are converted to Int.
Return
A new GroupBy of the same type with the cumulative sums.
Parameters
Whether to skip null and NaN values (default: true).
See also
Deprecated
It's recommended to migrate to the String or Extension Properties Access API https://kotlin.github.io/dataframe/apilevels.html
The CumSum Operation
Computes the cumulative sums of the values in each column from the DataFrame from the first cell to the last cell.
NOTE: If the column contains nullable values and skipNA is set to true, null and NaN values are skipped when computing the cumulative sum. When false, all values after the first NA will be NaN (for Double and Float columns) or null (for other columns).
cumSum only works on columns that contain solely primitive numbers.
Similar to sum, Byte- and Short-columns are converted to Int.
Return
A new DataFrame of the same type with the cumulative sums.
Parameters
The selection of the columns to apply the cumSum operation to. If not provided, cumSum will be applied to all primitive columns at any depth.
Whether to skip null and NaN values (default: true).
See also
Deprecated
It's recommended to migrate to the String or Extension Properties Access API https://kotlin.github.io/dataframe/apilevels.html
The CumSum Operation
Computes the cumulative sums of the values in each column from the GroupBy from the first cell to the last cell.
NOTE: If the column contains nullable values and skipNA is set to true, null and NaN values are skipped when computing the cumulative sum. When false, all values after the first NA will be NaN (for Double and Float columns) or null (for other columns).
cumSum only works on columns that contain solely primitive numbers.
Similar to sum, Byte- and Short-columns are converted to Int.
Return
A new GroupBy of the same type with the cumulative sums.
Parameters
The selection of the columns to apply the cumSum operation to. If not provided, cumSum will be applied to all primitive columns at any depth.
Whether to skip null and NaN values (default: true).