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.â.
According to the American Heart Association, women should limit their daily sugar consumption to 6 teaspoons (or 24 grams), and men should limit intake to no more than 9 teaspoons (or 36 grams). And kids . . . those humans who love, love, love sugar . . . should consume even less per day.