Python Day16

@浙大疏锦行 Python day16

内容:

  • numpy数组的创建以及相关操作
  • numpy的索引
  • 理解SHAP值

代码:

import  numpy as np

a = np.array([[1, 2], [3, 4], [5, 6]])
b = np.array([[7, 8], [9, 10], [11, 12]])

效果:

Python Day16_第1张图片

Python Day16_第2张图片

你可能感兴趣的:(Python训练,python)