code: def test_duplicate_columns_pandas():
      # https://github.com/wesm/feather/issues/53
      # not currently able to handle duplicate columns
      df = pd.DataFrame(
          np.arange(12).reshape(4, 3), columns=list("aaa")
      ).copy()
      _assert_error_on_write(df, ValueError)
  
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 42 for calling a global function with example usage: test_duplicate_columns_pandas() without return types