Skip to content

Instantly share code, notes, and snippets.

@mfcabrera
Created March 19, 2015 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfcabrera/b430b818e8de3dbf2fb2 to your computer and use it in GitHub Desktop.
Save mfcabrera/b430b818e8de3dbf2fb2 to your computer and use it in GitHub Desktop.
In [4]: np.arange(10).astype(object).mean(axis=0)
Out[4]: 4.5
In [5]: np.__version__
Out[5]: '1.8.1'
@mfcabrera
Copy link
Author

In [5]: np.version
Out[5]: '1.8.1'

In [6]: !python --version
Python 2.7.8

In [7]: !uname -a
14.1.0 Darwin Kernel Version 14.1.0: Mon Dec 22 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment