@@ -1251,10 +1251,11 @@ def cumulative_prod(
12511251 be cast if necessary.
12521252
12531253 Default: ``None``.
1254- include_initial : bool, optional
1255- Boolean indicating whether to include the initial value (ones) as
1256- the first value in the output. With ``include_initial=True``
1257- the shape of the output is different than the shape of the input.
1254+ include_initial : {None, bool}, optional
1255+ A boolean indicating whether to include the initial value (one) as
1256+ the first value along the provided axis in the output. With
1257+ ``include_initial=True`` the shape of the output is different than
1258+ the shape of the input.
12581259
12591260 Default: ``False``.
12601261
@@ -1340,10 +1341,11 @@ def cumulative_sum(
13401341 be cast if necessary.
13411342
13421343 Default: ``None``.
1343- include_initial : bool, optional
1344- Boolean indicating whether to include the initial value (ones) as
1345- the first value in the output. With ``include_initial=True``
1346- the shape of the output is different than the shape of the input.
1344+ include_initial : {None, bool}, optional
1345+ A boolean indicating whether to include the initial value (zero) as
1346+ the first value along the provided axis in the output. With
1347+ ``include_initial=True`` the shape of the output is different than
1348+ the shape of the input.
13471349
13481350 Default: ``False``.
13491351
0 commit comments