Closed gusgordon closed 7 years ago
Thanks @richafrank! We were doing that before anyway, and I think if we want to just replace the NaNs in the first row we would have to break apart the logic for different types.
I opened this issue https://github.com/quantopian/empyrical/issues/40
Adds support for passing a
DataFrame
tostats.cum_returns
. Adds related tests.I messed up the commits, so I made a new PR; sorry about that.
cc @richafrank @twiecki