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.â.
In a normal adult the red cells of about half a litre (almost one pint) of blood are produced by the bone marrow every week. Almost 1 percent of the bodyâs red cells are generated each day, and the balance between red cell production and the removal of aging red cells from the circulation is precisely maintained. The rate of blood cell formation varies depending on the individual, but a typical production might average 200,000,000,000 red cells per day, 10,000,000,000 white cells per day, and 400,000,000,000 platelets per day.