Be careful with the ibis cumsum function because in some backends it won't work as what it was expected and designed.
E.g. here is an relevant open issue to Bigquery backend: https://github.com/ibis-project/ibis/issues/10699