np.r_ also provides us with the function np.array(), which is inconvenient to use and you can go back and review if you forget.
Finally, there is the parameter 'r/c' which allows us to do an array merge of rows or columns. Because of this parameter, np.r_ provides us with the functionality of np.c_. If we understand the logic of np.r_, then we don't need to learn more about np.c_ to mess up our thinking.





請先 登入 以發表留言。