import numpy as np

'''l1 = [1, 2, 3]
l2 = [4, 5, 6]
a1 = np.array([l1, l2])
print(a1)

# 1-D
a = np.array([2, 4, 6, 8, 10])
print(a)
print(dir(a))

print(a.shape)
print(a.ndim)


# 2-D
b = np.array([[1, 3, 5, 7, 9], [0, 2, 4, 6, 8]])
print(b)
print(b.nbytes)
print(b.ndim)
print(b.shape)
print(b.itemsize)
print(b[1, 3])
print(b[:, 2])
b[:,2]=10
print(b)

# 3-D
c = np.array([[[1, 2, 3], [4, 5, 6], [7, 8, 9]],[["a","b","c"],["d","e","f"],["g","h","i"]]])
print(c)
print(c.shape)


dd = np.array([[4,5,6]])
ff = dd.repeat(2, axis=0)
print(ff)

# Transpose

f1 = np.array([[1,3,5],[2,4,6]])
print(f1.transpose())

print(f1.reshape(3,2))'''

# Looping in array

lp = np.array([[11,22,33], [44,55,66]])
print(lp)

print(dir(lp))


