code: def test_max_drawdown_df(df):
      data = df
      data = data[0:10]
      actual = data.calc_max_drawdown()
  
      aae(actual["AAPL"], -0.086, 3)
      aae(actual["MSFT"], -0.048, 3)
      aae(actual["C"], -0.033, 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 13 for calling a global function with example usage: test_max_drawdown_df(df) without return types