Fix incorrect results from cumulative_sum and cumulative_prod with dtype=bool
#5459
python_style_checks.yml
on: pull_request
cumulative_sum and cumulative_prod with dtype=bool
#5459