Actually, I found a related post and this does the trick:
using PyCall
np = pyimport("numpy")
nidaqmx = pyimport("nidaqmx")
data = ones(10)
dataMatrix = repeat(reshape(data, 1, :), 2, 1)
dataMatrix_np = PyReverseDims(dataMatrix)
println("Data matrix flags: $(dataMatrix_np.flags)")
Here is the link to the post: