numeraire.core.sorts.SortAssignments#
- class numeraire.core.sorts.SortAssignments(bins: DataFrame, breakpoints: DataFrame, n_bins: int)[source]#
Bases:
objectFormation-time bin assignments and the breakpoints that produced them.
binshas the same axes as the formation signal. Its finite values are integer bin labels in0 .. n_bins - 1; ineligible names haveNaN.breakpointshas one row per date and columns1 .. n_bins - 1for the interior signal cutoffs.Methods
__init__(bins, breakpoints, n_bins)Attributes
binsbreakpointsn_bins