Note that you have to import both the function and the variables that you are using in your function call. Also, I would suggest that you use IPython where you have magic commands so you can simply do %timeit foo(arg) .
The World Health Organisation suggests that adults should eat no more than 50 grams of sugar (12 teaspoons) per day to avoid the risks of obesity and tooth decay. The UN body even advises that limiting ourselves to 25 grams â or 5% of our daily energy intake â would provide âadditional health benefits.â.
SugarScience suggests the same limits advocated by the American Heart Association and the World Health Organization: no more than 9 teaspoons a day for men and no more than 6 teaspoons a day for women. But knowing how much sugar you're eating can be challenging. Here are some key facts from the SugarScience website. 1  Added sugar is hiding in 74 percent of packaged foods.  Fructose, a common type of sugar, can damage your liver more than other kinds of sugar â just like too much alcohol can.