O'Reilly logo
  • Xingda Wang thinks this is interesting:

np.c_

From

Cover of Hands-On Machine Learning with Scikit-Learn and TensorFlow

Note

np.r_是按列连接两个矩阵,就是把两矩阵上下相加,要求列数相等。 np.c_是按行连接两个矩阵,就是把两矩阵左右相加,要求行数相等。