Skip to content

Instantly share code, notes, and snippets.

@KingGeneral
Created January 24, 2017 08:46
Show Gist options
  • Save KingGeneral/c5a59f0e021cf58ee0ca4672d5a3d982 to your computer and use it in GitHub Desktop.
Save KingGeneral/c5a59f0e021cf58ee0ca4672d5a3d982 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{"nbformat": 3, "metadata": {"name": "", "language_info": {"name": "python", "codemirror_mode": {"name": "ipython", "version": 3}, "pygments_lexer": "ipython3", "mimetype": "text/x-python"}, "signature": "sha256:e246f671789f6c8d60de29e58029d87e1af5728b0e9f765de78dc4d7583982ad"}, "nbformat_minor": 0, "worksheets": [{"metadata": {}, "cells": [{"input": "import scipy as sp\ns = sp.randn(100)\nprint(len(s))", "cell_type": "code", "outputs": [{"text": "100\n", "output_type": "stream", "stream": "stdout"}], "prompt_number": 4, "metadata": {"trusted": true}, "collapsed": false, "language": "python"}, {"input": "print(\"Mean : {0:8.6f}\".format(s.mean()))", "cell_type": "code", "outputs": [{"text": "Mean : 0.051269\n", "output_type": "stream", "stream": "stdout"}], "prompt_number": 5, "metadata": {"trusted": true}, "collapsed": false, "language": "python"}, {"input": "", "cell_type": "code", "outputs": [], "metadata": {"trusted": true}, "collapsed": true, "language": "python"}, {"input": "", "cell_type": "code", "outputs": [], "metadata": {"trusted": true}, "collapsed": true, "language": "python"}]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment