## Numpy one-dimensional matrix transpose problem
numpy, we directly if a one-dimensional line matrix transpose, will have problems
this time, you can use expand_dims
import numpy as np
d=np.zeros((1,9))
d.shape
d=np.expand_dims(d,axis=0)
d.shape
d.T
d.transpose()
shape after expand_dims is (1,9), aT there is no problem