make_series_from_list

CutWithdrawalsIfDrawdown.make_series_from_list(l)

Convert list of tuples to pandas Series.

Parameters:
llist[tuple[float, float]]

List of tuples.

Returns:
pd.Series

Series with threshold as index and reduction as value.