abk11

Results 3 comments of abk11

Hi, I solved this exact same issue by pasting the following code right before U.make_session() `class TfInput(object): def __init__(self, name="(unnamed)"): """Generalized Tensorflow placeholder. The main differences are: - possibly uses...

Hi, After inspecting the docs a bit, I might have found a solution useful for you: ` from pyfolio import timeseries perf_func = timeseries.perf_stats perf_stats_all = perf_func( returns=your_portfolio_returns_as_a_pdSeries, factor_returns=your_benchmark_returns_as_a_pdSeries, positions=None,...

Hi, I had the exact same issue but I later noticed that it was just my fault: instead of passing a pd.Series, I passed a pd.DataFrame for the "returns" parameter....