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.â.
Most Americansâincluding kidsâget too much sugar. The AHA recommends that men get a total of no more than 36 grams of sugar a day, the equivalent of 9 teaspoons, and that women get no more than two-thirds that much. Children are advised to limit their sugar intake to 12 grams a day, or 3 teaspoons.