Skip to content
masterclass Buddy

NumPy · Pipe

ndarray.dtype

ndarray.dtype describes the data type of an array’s elements. Reading it returns a NumPy dtype object.

Last updated

Syntax

ndarray.dtype

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

Subscribe
  • ndarray.astype
  • ndarray.view
  • numpy.dtype
  • ndarray

Source: numpy.ndarray.dtype — NumPy v2.5 Manual. Checked 2026-11-03.