class_docstr: Tests for summary encoder.
docstr: Checks that all quantiles of summary encoder are in the quantile encoder
docstr_tok: ["Checks","that","all","quantiles","of","summary","encoder","are","in","the","quantile","encoder"]
code: def test_several_quantiles_reverse(self):
      """
      Checks that all quantiles of summary encoder are in the quantile encoder
  
      """
  
      quantile_list = [0.2, 0.1, 0.8]
  
      summary_results = encoders.SummaryEncoder(
          cols=[self.col], quantiles=quantile_list
      ).fit_transform(self.df, self.target)
  
      for quantile in quantile_list:
          quantile_results = encoders.QuantileEncoder(
              cols=[self.col], quantile=quantile
          ).fit_transform(self.df, self.target)
  
          percentile = round(quantile * 100)
          col_name = str(self.col) + "_" + str(percentile)
  
          np.testing.assert_allclose(
              quantile_results[self.col].values,
              summary_results[col_name].values,
          )
  
file_path: category_encoders/tests/test_quantile_encoder.py
imports: import unittest
  import pandas
  import category_encoders
  import numpy
label_desc: Use image node_id 4 for calling the TestSummaryEncoder obj's underlying member method code with example usage: obj.test_several_quantiles_reverse() without return types