Lsn21 NumPy
Lsn21 NumPy
NumPy
Python Mini-Course
University of Oklahoma
Department of Psychology
import numpy
a = array([[1,2,3],
[4,5,6],
[7,8,9]])
a.shape
a.dtype
a[1]
a[1,:]
a[1,1:]
a[:1,1:]