>>> import numpy as np >>> import math >>> np.full((4, 3), math.pi) array([[3.14159265, 3.14159265, 3.14159265], [3.14159265, 3.14159265, 3.14159265], [3.14159265, 3.14159265, 3.14159265], [3.14159265, 3.14159265, 3.14159265]])