Just use `np.ones((5, 6), dtype=np.float)` (or whatever dtype you want)