def binning_table_scenario(self, scenario_id):
        """Return the instantiated binning table corresponding to
        ``scenario_id``. Please refer to :ref:`Binning table: binary target`.

        Parameters
        ----------
        scenario_id : int
            Scenario identifier.

        Returns
        -------
        binning_table : BinningTable
        """
        self._check_is_fitted()

        if (not isinstance(scenario_id, numbers.Integral) or
                not 0 <= scenario_id < self._n_scenarios):
            raise ValueError("scenario_id must be < {}; got {}."
                             .format(self._n_scenarios, scenario_id))

        return self._binning_tables[scenario_id]
Return the instantiated binning table corresponding to
        ``scenario_id``. Please refer to :ref:`Binning table: binary target`.

        Parameters
        ----------
        scenario_id : int
            Scenario identifier.

        Returns
        -------
        binning_table : BinningTable
        
optbinning/binning/uncertainty/binning_scenarios.py