Skip to content

Instantly share code, notes, and snippets.

View Nodd's full-sized avatar

Joseph Martinot-Lagarde Nodd

  • ONERA
  • Grans (France)
View GitHub Profile
@Nodd
Nodd / gist:926e3e21af1f04741c14
Created January 27, 2015 10:42
numpy.average timing
Timer unit: 1e-06 s
Total time: 0.211221 s
File: /usr/lib/python3.4/site-packages/numpy/lib/function_base.py
Function: average at line 436
Line # Hits Time Per Hit % Time Line Contents
==============================================================
436 @profile
437 def average(a, axis=None, weights=None, returned=False):