Skip to content
masterclass Buddy

NumPy · Type Alias

np.float64

np.float64 is NumPy's 64-bit floating-point data type. Use it to set an array's dtype or to convert an array with astype.

Last updated

Syntax

np.float64
np.array(data, dtype=np.float64)
array.astype(np.float64)

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

Subscribe
  • numpy.dtype
  • numpy.ndarray
  • numpy.array
  • numpy.astype
  • numpy.isclose
  • numpy.issubdtype
  • numpy.finfo

Source: Data types — NumPy v2.5 Manual. Checked 2026-11-03.