def cumulative_integral(fx, x):
    return cumtrapz(fx.T, x, initial=0).T
Arguments:
dataset/ETHPy150Open CamDavidsonPilon/lifelines/lifelines/generate_datasets.py/cumulative_integral--crossover with--dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/contestgen.py/BallotGenerator.__init__