Skip to content

Commit

Permalink
fix format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel committed Apr 8, 2015
1 parent 6d2bd53 commit 202ce07
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
"!ls -lh small.mmap"
"ls -lh small.mmap"
],
"language": "python",
"metadata": {},
Expand Down Expand Up @@ -936,8 +936,8 @@
"collapsed": false,
"input": [
"%%px\n",
"print(\"sum={:.3f}, mean={:.3f}, std={:.3f}\".format(\n",
" float(mm_r.sum()), np.mean(mm_r), np.std(mm_r)))"
"print(\"sum={0:.3f}, mean={1:.3f}, std={2:.3f}\".format(\n",
" float(mm_r.sum()), float(np.mean(mm_r)), float(np.std(mm_r))))"
],
"language": "python",
"metadata": {},
Expand Down

0 comments on commit 202ce07

Please sign in to comment.