Skip to content
masterclass Buddy

NumPy · Type Alias

np.int64

Generate random integers from a discrete uniform distribution. By default, low is included and high is excluded; endpoint=True includes high.

Last updated

Syntax

Generator.integers(low, high=None, size=None, dtype=np.int64, endpoint=False)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • numpy.random.default_rng
  • numpy.random.Generator
  • numpy.int64
  • numpy.uint64

Source: numpy.random.Generator.integers — NumPy v2.5 Manual. Checked 2026-11-03.