Skip to content

Instantly share code, notes, and snippets.

@fakedale
Last active December 13, 2015 22:18
Show Gist options
  • Save fakedale/4982999 to your computer and use it in GitHub Desktop.
Save fakedale/4982999 to your computer and use it in GitHub Desktop.
notebook3 #notebook #notebook #test-tag
Display the source blob
Display the rendered blob
Raw
{
"metadata": {
"gist_id": "4982999",
"kernelspec": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"display_name": "IPython (Python 2)",
"language": "python",
"name": "python2"
},
"name": "notebook3",
"notebook_path": "https://gist.github.com/4982999"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": [
"import pandas as pd\n",
"import numpy as np"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stderr",
"text": [
"/Users/datacaliber/Dropbox/Projects/trading/python/externals/pandas/pandas/computation/expressions.py:21: UserWarning: The installed version of numexpr 2.0 is not supported in pandas and will be not be used\n",
"The minimum supported version is 2.1\n",
"\n",
" \"version is 2.1\\n\".format(ver=ver), UserWarning)\n"
]
}
],
"prompt_number": 1,
"trusted": false
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"arr = np.arange(100)"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 3,
"trusted": false
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"arr"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 4,
"text": [
"array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,\n",
" 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33,\n",
" 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,\n",
" 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,\n",
" 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,\n",
" 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99])"
]
}
],
"prompt_number": 4,
"trusted": false
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment