In [1]:
import numpy as np
In [2]:
x = np.array([1,2,3])
x
Out[2]:
In [3]:
type(x)
Out[3]:
In [4]:
x = np.linspace(0,1,10)
In [5]:
x
Out[5]:
In [7]:
x = np.arange(9)
x
Out[7]:
In [8]:
x = np.zeros(9)
x
Out[8]:
In [10]:
x = np.ones(9)
x
Out[10]:
In [12]:
y = x.reshape((3,3))
y
Out[12]:
In [ ]: