code: def test_delete_2d(self, data):
      arr2d = data.repeat(3).reshape(-1, 3)
  
      # axis = 0
      result = arr2d.delete(1, axis=0)
      expected = data.delete(1).repeat(3).reshape(-1, 3)
      tm.assert_extension_array_equal(result, expected)
  
      # axis = 1
      result = arr2d.delete(1, axis=1)
      expected = data.repeat(2).reshape(-1, 2)
      tm.assert_extension_array_equal(result, expected)
  
imports: import numpy
  import pytest
  from pandas._libs.missing import is_matching_na
  from pandas.core.dtypes.common import is_bool_dtype, is_integer_dtype
  import pandas
  import pandas._testing
  from pandas.core.arrays.integer import NUMPY_INT_TO_DTYPE
label_desc: Use image node_id 5 for calling the Dim2CompatTests obj's underlying member method code with example usage: obj.test_delete_2d(data) without return types