code: def test_strings(version):
      repeats = 1000
  
      # Mixed bytes, unicode, strings coerced to binary
      values = [b"foo", None, "bar", "qux", np.nan]
      df = pd.DataFrame({"strings": values * repeats})
  
      ex_values = [b"foo", None, b"bar", b"qux", None]
      expected = pd.DataFrame({"strings": ex_values * repeats})
      _check_pandas_roundtrip(df, expected, version=version)
  
      # embedded nulls are ok
      values = ["foo", None, "bar", "qux", None]
      df = pd.DataFrame({"strings": values * repeats})
      expected = pd.DataFrame({"strings": values * repeats})
      _check_pandas_roundtrip(df, expected, version=version)
  
      values = ["foo", None, "bar", "qux", np.nan]
      df = pd.DataFrame({"strings": values * repeats})
      ex_values = ["foo", None, "bar", "qux", None]
      expected = pd.DataFrame({"strings": ex_values * repeats})
      _check_pandas_roundtrip(df, expected, version=version)
  
imports: import io
  import os
  import sys
  import tempfile
  import pytest
  import hypothesis
  import hypothesis.strategies
  import numpy
  import pyarrow
  import pyarrow.tests.strategies
  from pyarrow.feather import read_feather, write_feather, read_table, FeatherDataset
label_desc: Use image node_id 24 for calling a global function with example usage: test_strings(version) without return types