code: def test_min_max_question_length(self):
      data = {
          "Actors": [
              "Brad Pitt",
              "Leonardo Di Caprio",
              "George Clooney",
          ],
          "Age": ["56", "45", "59"],
          "Number of movies": ["87", "53", "69"],
          "Date of birth": [
              "18 december 1963",
              "11 november 1974",
              "6 may 1961",
          ],
      }
      queries = "When was Brad Pitt born?"
      table = pd.DataFrame.from_dict(data)
  
      # test max_question_length
      tokenizer = TapasTokenizer.from_pretrained(
          "lysandre/tapas-temporary-repo", max_question_length=2
      )
  
      encoding = tokenizer(table=table, queries=queries)
  
      # query should not be tokenized as it's longer than the specified max_question_length
      expected_results = [101, 102]
  
      self.assertListEqual(encoding.input_ids[:2], expected_results)
  
      # test min_question_length
      tokenizer = TapasTokenizer.from_pretrained(
          "lysandre/tapas-temporary-repo", min_question_length=30
      )
  
      encoding = tokenizer(table=table, queries=queries)
  
      # query should not be tokenized as it's shorter than the specified min_question_length
      expected_results = [101, 102]
  
      self.assertListEqual(encoding.input_ids[:2], expected_results)
  
imports: import inspect
  import os
  import shutil
  import tempfile
  import unittest
  from typing import List
  import numpy
  import pandas
  from transformers import AddedToken
  from transformers.models.tapas.tokenization_tapas import VOCAB_FILES_NAMES, BasicTokenizer, TapasTokenizer, WordpieceTokenizer, _is_control, _is_punctuation, _is_whitespace
  from transformers.testing_utils import is_pt_tf_cross_test, require_pandas, require_scatter, require_tensorflow_probability, require_tokenizers, require_torch, slow
  from ...test_tokenization_common import TokenizerTesterMixin, filter_non_english, merge_model_tokenizer_mappings
label_desc: Use image node_id 50 for calling the TapasTokenizationTest obj's underlying member method code with example usage: obj.test_min_max_question_length() without return types