📜  将 np 形状 (a,) 转换为 (a,1) - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:36.820000             🧑  作者: Mango

代码示例2
'''
This code is contributed by :
Tanishq Vyas (github : https://github.com/tanishqvyas )
'''

actual = actual.reshape((actual.shape[0], 1))