From d66e1ae7a34a47107ccf25506728c0908ddec166 Mon Sep 17 00:00:00 2001 From: evilzzw Date: 2018年10月10日 16:15:44 +0800 Subject: [PATCH 1/3] =?UTF-8?q?Numpy=20=E5=AD=A6=E4=B9=A0=E7=AC=94?= =?UTF-8?q?=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Numpy 增、删、改、查 --- learn_numpy | 1 + 1 file changed, 1 insertion(+) create mode 100644 learn_numpy diff --git a/learn_numpy b/learn_numpy new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/learn_numpy @@ -0,0 +1 @@ + From 46f10ce2b6ce70c98bc03140380d6a4558df4c85 Mon Sep 17 00:00:00 2001 From: evilzzw Date: 2018年10月10日 16:16:02 +0800 Subject: [PATCH 2/3] =?UTF-8?q?Numpy=20=E5=AD=A6=E4=B9=A0=E7=AC=94?= =?UTF-8?q?=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Numpy 增、删、改、查 --- learnnumpy | 1 + 1 file changed, 1 insertion(+) create mode 100644 learnnumpy diff --git a/learnnumpy b/learnnumpy new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/learnnumpy @@ -0,0 +1 @@ + From a217e035a917b9eb6d6f10fee92cda5229418e88 Mon Sep 17 00:00:00 2001 From: evilzzw Date: 2018年10月10日 16:19:26 +0800 Subject: [PATCH 3/3] Update learn_numpy --- learn_numpy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/learn_numpy b/learn_numpy index 8b13789..7cd216c 100644 --- a/learn_numpy +++ b/learn_numpy @@ -1 +1,4 @@ - +a = np.array([[1,2],[3,4],[5,6]]) +b = np.array([[10,20],[30,40],[50,60]]) +np.vstack((a,b)) # [1,2],[3,4],[5,6],[10,20],[30,40],[50,60] +np.hstack((a,b)) # [1,2,10,20],[3,4,30,40],[5,6,50,60]

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