class_docstr: Various Series and DataFrame methods.
class_docstr_tok: ["Various","Series","and","DataFrame","methods","."]
code: def test_delete(self, data):
      result = data.delete(0)
      expected = data[1:]
      tm.assert_extension_array_equal(result, expected)
  
      result = data.delete([1, 3])
      expected = data._concat_same_type(
          [data[[0]], data[[2]], data[4:]]
      )
      tm.assert_extension_array_equal(result, expected)
  
imports: import inspect
  import operator
  import numpy
  import pytest
  from pandas._typing import Dtype
  from pandas.core.dtypes.common import is_bool_dtype
  from pandas.core.dtypes.dtypes import NumpyEADtype
  from pandas.core.dtypes.missing import na_value_for_dtype
  import pandas
  import pandas._testing
  from pandas.core.sorting import nargsort
label_desc: Use image node_id 46 for calling the BaseMethodsTests obj's underlying member method code with example usage: obj.test_delete(data) without return types