Grocery inflation rose in October, as fuel price increases pushed up the costs of many foods.