docstr: Parameters
  ----------
  data
      Data to discretize.
  
  Returns
  -------
  List with bin values for each feature that is discretized.
code: def bins(self, data: np.ndarray) -> List[np.ndarray]:
      """
      Parameters
      ----------
      data
          Data to discretize.
  
      Returns
      -------
      List with bin values for each feature that is discretized.
      """
  
      bins = []
      for feature in self.to_discretize:
          qts = np.array(
              np.percentile(data[:, feature], self.percentiles)
          )
          bins.append(qts)
  
      return bins
  
file_path: alibi/alibi/utils/discretizer.py
imports: import numpy
  from alibi.tests.utils import issorted
  from functools import partial
  from typing import Dict, Callable, List, Sequence, Union
label_desc: Use image node_id 3 for calling the Discretizer obj's underlying member method code with example usage: obj.bins(data) and returns: bins