class_docstr: Tests for summary encoder.
docstr: Create dataframe with categories and a target variable
docstr_tok: ["Create","dataframe","with","categories","and","a","target","variable"]
code: def setUp(self):
      """Create dataframe with categories and a target variable"""
  
      self.df = pd.DataFrame(
          {"categories": ["a", "b", "c", "a", "b", "c", "a", "b"]}
      )
      self.target = np.array([1, 2, 0, 4, 5, 0, 6, 7])
      self.col = "categories"
  
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 1 for calling the TestSummaryEncoder obj's underlying member method code with example usage: obj.setUp() without return types