code: def test_invert_array():
      df = pd.DataFrame(
          {"a": pd.date_range("20190101", periods=3, tz="UTC")}
      )
  
      listify = df.apply(lambda x: x.array, axis=1)
      result = listify.explode()
      tm.assert_series_equal(result, df["a"].rename())
  
file_path: pandas/pandas/tests/series/methods/test_explode.py
imports: import numpy
  import pytest
  import pandas
  import pandas._testing
label_desc: Use image node_id 7 for calling a global function with example usage: test_invert_array() without return types