def _check_cython_group_transform_cumulative(pd_op, np_op, dtype):
is_datetimelike = False<EOL>data = np.array([[<NUM_LIT:1>], [<NUM_LIT:2>], [<NUM_LIT:3>], [<NUM_LIT:4>]], dtype=dtype)<EOL>ans = np.zeros_like(data)<EOL>labels = np.array([<NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>], dtype=np.int64)<EOL>ngroups = <NUM_LIT:1><EOL>pd_op(ans, data, labels, ngroups, is_datetimelike)<EOL>tm.assert_numpy_array_equal(np_op(data), ans[:, <NUM_LIT:0>],<EOL>check_dtype=False)<EOL>
Check a group transform that executes a cumulative function.

Parameters
----------
pd_op : callable
    The pandas cumulative function.
np_op : callable
    The analogous one in NumPy.
dtype : type
    The specified dtype of the data.