In [2]:
import numpy as np
In [12]:
a = np.array([[1, 2], [3, 4]])
a.ndim
a
Out[12]:
In [7]:
x=np.linspace(0,2,3)
y=np.linspace(0,2,5)
y
Out[7]:
In [8]:
xv,yv=np.meshgrid(y,x)
yv
Out[8]:
In [ ]: