code: def test_pandas_arff_parser_strip_double_quotes(parser_func):
      """Check that we properly strip double quotes from the data."""
      pd = pytest.importorskip("pandas")
  
      arff_file = BytesIO(
          textwrap.dedent(
              """
              @relation 'toy'
              @attribute 'cat_double_quote' {"A", "B", "C"}
              @attribute 'str_double_quote' string
              @attribute 'str_nested_quote' string
              @attribute 'class' numeric
              @data
              "A","some text","\'expect double quotes\'",0
              """
          ).encode("utf-8")
      )
  
      columns_info = {
          "cat_double_quote": {
              "data_type": "nominal",
              "name": "cat_double_quote",
          },
          "str_double_quote": {
              "data_type": "string",
              "name": "str_double_quote",
          },
          "str_nested_quote": {
              "data_type": "string",
              "name": "str_nested_quote",
          },
          "class": {
              "data_type": "numeric",
              "name": "class",
          },
      }
  
      feature_names = [
          "cat_double_quote",
          "str_double_quote",
          "str_nested_quote",
      ]
      target_names = ["class"]
  
      expected_values = {
          "cat_double_quote": "A",
          "str_double_quote": "some text",
          "str_nested_quote": "'expect double quotes'",
          "class": 0,
      }
  
      _, _, frame, _ = parser_func(
          arff_file,
          output_arrays_type="pandas",
          openml_columns_info=columns_info,
          feature_names_to_select=feature_names,
          target_names_to_select=target_names,
      )
  
      assert frame.columns.tolist() == feature_names + target_names
      pd.testing.assert_series_equal(
          frame.iloc[0], pd.Series(expected_values, name=0)
      )
  
file_path: scikit-learn/sklearn/datasets/tests/test_arff_parser.py
imports: import textwrap
  from io import BytesIO
  import pytest
  from sklearn.datasets._arff_parser import _liac_arff_parser, _pandas_arff_parser, _post_process_frame, load_arff_from_gzip_file
label_desc: Use image node_id 4 for calling a global function with example usage: test_pandas_arff_parser_strip_double_quotes(parser_func) without return types