|
1 | 1 | { |
2 | 2 | "metadata": { |
3 | 3 | "name": "", |
4 | | - "signature": "sha256:7553ded8e8dc9e6faf09cd22747b33a3ae9039743491e88025fb61ea45203063" |
| 4 | + "signature": "sha256:b2597ea4263c11dd6774b227e7a3a5626197c4863e6895002657fd55d02b55d9" |
5 | 5 | }, |
6 | 6 | "nbformat": 3, |
7 | 7 | "nbformat_minor": 0, |
|
39 | 39 | "output_type": "stream", |
40 | 40 | "stream": "stdout", |
41 | 41 | "text": [ |
42 | | - "Last updated: 30/07/2014 \n", |
| 42 | + "Last updated: 31/07/2014 \n", |
43 | 43 | "\n", |
44 | 44 | "CPython 3.4.1\n", |
45 | | - "IPython 2.0.0\n", |
| 45 | + "IPython 2.1.0\n", |
46 | 46 | "\n", |
47 | 47 | "numpy 1.8.1\n" |
48 | 48 | ] |
|
161 | 161 | "output_type": "stream", |
162 | 162 | "stream": "stdout", |
163 | 163 | "text": [ |
164 | | - "Overwriting example.csv\n" |
| 164 | + "Writing example.csv\n" |
165 | 165 | ] |
166 | 166 | } |
167 | 167 | ], |
|
258 | 258 | { |
259 | 259 | "metadata": {}, |
260 | 260 | "output_type": "pyout", |
261 | | - "prompt_number": 37, |
| 261 | + "prompt_number": 5, |
262 | 262 | "text": [ |
263 | 263 | "True" |
264 | 264 | ] |
265 | 265 | } |
266 | 266 | ], |
267 | | - "prompt_number": 37 |
| 267 | + "prompt_number": 5 |
268 | 268 | }, |
269 | 269 | { |
270 | 270 | "cell_type": "markdown", |
|
292 | 292 | { |
293 | 293 | "metadata": {}, |
294 | 294 | "output_type": "pyout", |
295 | | - "prompt_number": 5, |
| 295 | + "prompt_number": 6, |
296 | 296 | "text": [ |
297 | 297 | "array([[False, False, False, False],\n", |
298 | 298 | " [False, False, True, False],\n", |
299 | 299 | " [False, False, False, True]], dtype=bool)" |
300 | 300 | ] |
301 | 301 | } |
302 | 302 | ], |
303 | | - "prompt_number": 5 |
| 303 | + "prompt_number": 6 |
304 | 304 | }, |
305 | 305 | { |
306 | 306 | "cell_type": "markdown", |
|
351 | 351 | { |
352 | 352 | "metadata": {}, |
353 | 353 | "output_type": "pyout", |
354 | | - "prompt_number": 8, |
| 354 | + "prompt_number": 7, |
355 | 355 | "text": [ |
356 | 356 | "2" |
357 | 357 | ] |
358 | 358 | } |
359 | 359 | ], |
360 | | - "prompt_number": 8 |
| 360 | + "prompt_number": 7 |
361 | 361 | }, |
362 | 362 | { |
363 | 363 | "cell_type": "markdown", |
|
385 | 385 | { |
386 | 386 | "metadata": {}, |
387 | 387 | "output_type": "pyout", |
388 | | - "prompt_number": 9, |
| 388 | + "prompt_number": 8, |
389 | 389 | "text": [ |
390 | 390 | "10" |
391 | 391 | ] |
392 | 392 | } |
393 | 393 | ], |
394 | | - "prompt_number": 9 |
| 394 | + "prompt_number": 8 |
395 | 395 | }, |
396 | 396 | { |
397 | 397 | "cell_type": "markdown", |
|
435 | 435 | { |
436 | 436 | "metadata": {}, |
437 | 437 | "output_type": "pyout", |
438 | | - "prompt_number": 10, |
| 438 | + "prompt_number": 9, |
439 | 439 | "text": [ |
440 | 440 | "nan" |
441 | 441 | ] |
442 | 442 | } |
443 | 443 | ], |
444 | | - "prompt_number": 10 |
| 444 | + "prompt_number": 9 |
445 | 445 | }, |
446 | 446 | { |
447 | 447 | "cell_type": "markdown", |
|
474 | 474 | ] |
475 | 475 | } |
476 | 476 | ], |
477 | | - "prompt_number": 11 |
| 477 | + "prompt_number": 10 |
478 | 478 | }, |
479 | 479 | { |
480 | 480 | "cell_type": "code", |
481 | 481 | "collapsed": false, |
482 | 482 | "input": [ |
483 | | - "print('row sums:', np.nansum(ary, axis=0))" |
| 483 | + "print('column sums:', np.nansum(ary, axis=0))" |
484 | 484 | ], |
485 | 485 | "language": "python", |
486 | 486 | "metadata": {}, |
|
489 | 489 | "output_type": "stream", |
490 | 490 | "stream": "stdout", |
491 | 491 | "text": [ |
492 | | - "row sums: [ 16. 19. 15. 12.]\n" |
| 492 | + "column sums: [ 16. 19. 15. 12.]\n" |
493 | 493 | ] |
494 | 494 | } |
495 | 495 | ], |
496 | | - "prompt_number": 12 |
| 496 | + "prompt_number": 11 |
497 | 497 | }, |
498 | 498 | { |
499 | 499 | "cell_type": "code", |
500 | 500 | "collapsed": false, |
501 | 501 | "input": [ |
502 | | - "print('column sums:', np.nansum(ary, axis=1))" |
| 502 | + "print('row sums:', np.nansum(ary, axis=1))" |
503 | 503 | ], |
504 | 504 | "language": "python", |
505 | 505 | "metadata": {}, |
|
508 | 508 | "output_type": "stream", |
509 | 509 | "stream": "stdout", |
510 | 510 | "text": [ |
511 | | - "column sums: [ 10. 19. 33.]\n" |
| 511 | + "row sums: [ 10. 19. 33.]\n" |
512 | 512 | ] |
513 | 513 | } |
514 | 514 | ], |
515 | | - "prompt_number": 13 |
| 515 | + "prompt_number": 12 |
516 | 516 | }, |
517 | 517 | { |
518 | 518 | "cell_type": "markdown", |
|
0 commit comments