code: def test_update_labels(self):
      data = array(
          [
              ["aaa", "bbb", "ccc"],
              ["ddd", "eee", "fff"],
              ["ggg", "hhh", "iii"],
              ["jjj", "kkk", "lll"],
              ["mmm", "nnn", "ooo"],
          ]
      )
      label_array = LabelArray(data, missing_value="")
  
      adj_array = AdjustedArray(
          data=label_array,
          adjustments={4: [ObjectOverwrite(2, 3, 0, 0, "ppp")]},
          missing_value="",
      )
  
      expected_data = array(
          [
              ["aaa-foo", "bbb-foo", "ccc-foo"],
              ["ddd-foo", "eee-foo", "fff-foo"],
              ["ggg-foo", "hhh-foo", "iii-foo"],
              ["jjj-foo", "kkk-foo", "lll-foo"],
              ["mmm-foo", "nnn-foo", "ooo-foo"],
          ]
      )
      expected_label_array = LabelArray(expected_data, missing_value="")
  
      expected_adj_array = AdjustedArray(
          data=expected_label_array,
          adjustments={4: [ObjectOverwrite(2, 3, 0, 0, "ppp-foo")]},
          missing_value="",
      )
  
      adj_array.update_labels(lambda x: x + "-foo")
  
      # Check that the mapped AdjustedArray has the expected baseline
      # values and adjustment values.
      check_arrays(adj_array.data, expected_adj_array.data)
      self.assertEqual(
          adj_array.adjustments, expected_adj_array.adjustments
      )
  
imports: from collections import namedtuple
  from itertools import chain, product
  from string import ascii_lowercase, ascii_uppercase
  from textwrap import dedent
  from unittest import TestCase
  from nose_parameterized import parameterized
  from numpy import arange, array, asarray, dtype, full
  from six.moves import zip_longest
  from toolz import curry
  from zipline.errors import WindowLengthNotPositive, WindowLengthTooLong
  from zipline.lib.adjustment import Boolean1DArrayOverwrite, BooleanOverwrite, Datetime641DArrayOverwrite, Datetime64Overwrite, Float641DArrayOverwrite, Float64Multiply, Float64Overwrite, Int64Overwrite, Object1DArrayOverwrite, ObjectOverwrite
  from zipline.lib.adjusted_array import AdjustedArray
  from zipline.lib.labelarray import LabelArray
  from zipline.testing import check_arrays
  from zipline.testing.predicates import assert_equal
  from zipline.utils.compat import unicode
  from zipline.utils.numpy_utils import coerce_to_dtype, datetime64ns_dtype, default_missing_value_for_dtype, bool_dtype, float64_dtype, int64_dtype, object_dtype
label_desc: Use image node_id 10 for calling the AdjustedArrayTestCase obj's underlying member method code with example usage: obj.test_update_labels() without return types