class_docstr: Tests for ExtensionArray.__getitem__.
code: def test_reindex(self, data, na_value):
      s = pd.Series(data)
      result = s.reindex([0, 1, 3])
      expected = pd.Series(data.take([0, 1, 3]), index=[0, 1, 3])
      tm.assert_series_equal(result, expected)
  
      n = len(data)
      result = s.reindex([-1, 0, n])
      expected = pd.Series(
          data._from_sequence(
              [na_value, data[0], na_value], dtype=s.dtype
          ),
          index=[-1, 0, n],
      )
      tm.assert_series_equal(result, expected)
  
      result = s.reindex([n, n + 1])
      expected = pd.Series(
          data._from_sequence([na_value, na_value], dtype=s.dtype),
          index=[n, n + 1],
      )
      tm.assert_series_equal(result, expected)
  
imports: import numpy
  import pytest
  import pandas
  import pandas._testing
label_desc: Use image node_id 29 for calling the BaseGetitemTests obj's underlying member method code with example usage: obj.test_reindex(data, na_value) without return types