class_docstr: Tests for percentile encoder.
docstr: Expected output of percentile 100 in df:
      - a max is 6
      - b max is 7
      - c max is 0
docstr_tok: ["Expected","output","of","percentile","100","in","df",":","-","a","max","is","6","-","b","max","is","7","-","c","max","is","0"]
code: def test_max_works(self):
      """
      Expected output of percentile 100 in df:
          - a max is 6
          - b max is 7
          - c max is 0
      """
      expected_output_max = pd.DataFrame(
          {"categories": [6.0, 7, 0, 6, 7, 0, 6, 7]}
      )
  
      pd.testing.assert_frame_equal(
          encoders.QuantileEncoder(quantile=1, m=0.0).fit_transform(
              self.df, self.target
          ),
          expected_output_max,
      )
  
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 3 for calling the TestQuantileEncoder obj's underlying member method code with example usage: obj.test_max_works() without return types