Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e2a3cdb

Browse files
committed
add python version
1 parent 2091687 commit e2a3cdb

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

‎numpy.ipynb

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"cell_type": "markdown",
2121
"metadata": {},
2222
"source": [
23-
"### check numpy version"
23+
"### check python and numpy version"
2424
]
2525
},
2626
{
@@ -32,11 +32,14 @@
3232
"name": "stdout",
3333
"output_type": "stream",
3434
"text": [
35+
"Python version: 3.6.6\n",
3536
"Numpy version: 1.15.0\n"
3637
]
3738
}
3839
],
3940
"source": [
41+
"import platform\n",
42+
"print('Python version: ' + platform.python_version())\n",
4043
"print('Numpy version: ' + np.__version__)"
4144
]
4245
},
@@ -181,9 +184,9 @@
181184
"name": "stdout",
182185
"output_type": "stream",
183186
"text": [
184-
"[[0.56474295 0.24785738 0.1652614 ]\n",
185-
" [0.2375768 0.48687447 0.18656357]\n",
186-
" [0.60185182 0.93742907 0.62693213]]\n"
187+
"[[0.84881431 0.37832516 0.07001883]\n",
188+
" [0.4702529 0.9827513 0.11391501]\n",
189+
" [0.88884503 0.64346205 0.90634203]]\n"
187190
]
188191
}
189192
],
@@ -541,7 +544,7 @@
541544
"aligned: True\n",
542545
"contiguous: True\n",
543546
"fortran: False\n",
544-
"data pointer: 0x1b9fbdecfd0\n",
547+
"data pointer: 0x1f40cf26b90\n",
545548
"byteorder: little\n",
546549
"byteswap: False\n",
547550
"type: int64\n",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /