In numpy the dimensions of the resulting array vary at run time. There is often confusion between a 1d array and a 2d array with 1 column. In one case I can ite
numpy
The simplest way:
ar.reshape(-1, 1)