code: def median_age(data):
      median_age = data["exonerations"].aggregate(agate.Median("age"))
  
      print("Median age at time of arrest: %i" % median_age)
  
      data["exonerations"].bins("age", 10, 0, 100).print_bars(
          "age", width=80
      )
      data["exonerations"].pivot("age").order_by("age").print_bars(
          "age", width=80
      )
  
      data["exonerations"].bins("age").print_bars("age", width=80)
  
file_path: agate/exonerations.py
imports: import proof
  import agate
label_desc: Use image node_id 3 for calling a global function with example usage: median_age(data) without return types