Browse Source

add 1_numpy_matplotlib_scipy_sympy/2.1.text.

pull/3/head
旭日东升 Gitee 5 years ago
parent
commit
b33ae8f97c
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      1_numpy_matplotlib_scipy_sympy/2.1.text

+ 4
- 0
1_numpy_matplotlib_scipy_sympy/2.1.text View File

@@ -0,0 +1,4 @@
import numpy as np
Z = np.array([[10, 34, 54, 23],[31, 87, 53, 68],[98, 49, 25, 11],[84, 32, 67, 88]])
Z = np.pad(Z, pad_width=1, mode='constant', constant_values=0)
print(Z)

Loading…
Cancel
Save