For example, lets use an array of data like this
[ \'mon\' => [\'cost\' => 3, \'bought\' => 3], \'tue\' => [\'cost\' => 4, \'bo