code: def test_multi_statistics_compile(self):
      len_stats = tools.Statistics(key=len)
      itm0_stats = tools.Statistics(key=itemgetter(0))
      mstats = tools.MultiStatistics(length=len_stats, item=itm0_stats)
      mstats.register("mean", numpy.mean, axis=0)
      mstats.register("max", numpy.max, axis=0)
      res = mstats.compile([[0.0, 1.0, 1.0, 5.0], [2.0, 5.0]])
      self.assertDictEqual(
          res,
          {
              "length": {"mean": 3.0, "max": 4},
              "item": {"mean": 1.0, "max": 2.0},
          },
      )
  
file_path: deap/tests/test_statistics.py
imports: from operator import itemgetter
  import unittest
  import numpy
  from deap import tools
label_desc: Use image node_id 2 for calling the LogbookTest obj's underlying member method code with example usage: obj.test_multi_statistics_compile() without return types