I tend to prefer dtype=np.double rather than dtype=float, which is imo a bit confusing.