code: def test_picklable(self):
      csv_line = '12,"this is a ,text",categorical_value,1,89.0,12.0,20,1,7,17.0'
      instance = {
          "category1": [b"categorical_value"],
          "numeric1": 12,
          "numeric2": [89.0],
          "numeric3": [20],
          "text1": b"this is a ,text",
          "idx": [1],
          "value": [12.0],
          "2d_idx0": [1],
          "2d_idx1": [7],
          "2d_val": [17.0],
      }
      schema = schema_utils.schema_from_feature_spec(_FEATURE_SPEC)
      coder = csv_coder.CsvCoder(_COLUMNS, schema)
      # Repeat twice to ensure the act of encoding/decoding doesn't break
      # pickling.
      for _ in range(2):
          coder = pickle.loads(pickle.dumps(coder))
          self.assertEqual(
              coder.encode(instance), csv_line.encode("utf-8")
          )
  
file_path: transform/tensorflow_transform/coders/csv_coder_test.py
imports: import pickle
  import tensorflow
  from tensorflow_transform.coders import csv_coder
  from tensorflow_transform import test_case
  from tensorflow_transform.tf_metadata import schema_utils
label_desc: Use image node_id 4 for calling the TestCSVCoder obj's underlying member method code with example usage: obj.test_picklable() without return types