code: def test_cagr_ts(ts):
      data = ts
      actual = data.calc_cagr()
      aae(actual, -0.921, 3)
  
imports: import ffn
  import pandas
  import numpy
  from pytest import fixture
  from numpy.testing import assert_almost_equal
label_desc: Use image node_id 15 for calling a global function with example usage: test_cagr_ts(ts) without return types