Skip to content

Commit 5e63e00

Browse files
committed
Arange
1 parent fcc5230 commit 5e63e00

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

NumPy.ipynb

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,34 @@
4949
},
5050
{
5151
"cell_type": "code",
52-
"execution_count": null,
52+
"execution_count": 10,
5353
"metadata": {},
5454
"outputs": [],
55-
"source": []
55+
"source": [
56+
"mat=[[1,2,3],[4,5,6],[7,8,9]]"
57+
]
58+
},
59+
{
60+
"cell_type": "code",
61+
"execution_count": 11,
62+
"metadata": {},
63+
"outputs": [
64+
{
65+
"data": {
66+
"text/plain": [
67+
"array([[1, 2, 3],\n",
68+
" [4, 5, 6],\n",
69+
" [7, 8, 9]])"
70+
]
71+
},
72+
"execution_count": 11,
73+
"metadata": {},
74+
"output_type": "execute_result"
75+
}
76+
],
77+
"source": [
78+
"np.array(mat)"
79+
]
5680
}
5781
],
5882
"metadata": {

0 commit comments

Comments
 (0)