{
  "name": "NumPy dtype spellings and what they resolve to",
  "description": "Each spelling that a NumPy user can pass as dtype= was evaluated with np.dtype() in NumPy 2.5.4 and its resolved name, itemsize in bytes, kind code and byte order recorded. The spellings and attributes are those documented in the NumPy data type objects reference and data types user guide.",
  "page": "https://casrai.org/guides/numpy-dtype",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-16T21:56:42Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "dtype spelling",
      "unit": "",
      "description": ""
    },
    {
      "name": "Resolved dtype",
      "unit": "",
      "description": ""
    },
    {
      "name": "Itemsize",
      "unit": "bytes",
      "description": ""
    },
    {
      "name": "Kind code",
      "unit": "",
      "description": "dtype.kind character: f float, i signed integer, u unsigned integer, U Unicode string"
    },
    {
      "name": "Byte order",
      "unit": "",
      "description": "dtype.byteorder: = native, > big-endian, < little-endian, | not applicable"
    }
  ],
  "rows": [
    {
      "dtype spelling": "f8",
      "Resolved dtype": "float64",
      "Itemsize": 8,
      "Kind code": "f",
      "Byte order": "="
    },
    {
      "dtype spelling": "f4",
      "Resolved dtype": "float32",
      "Itemsize": 4,
      "Kind code": "f",
      "Byte order": "="
    },
    {
      "dtype spelling": "i4",
      "Resolved dtype": "int32",
      "Itemsize": 4,
      "Kind code": "i",
      "Byte order": "="
    },
    {
      "dtype spelling": ">i4",
      "Resolved dtype": "int32",
      "Itemsize": 4,
      "Kind code": "i",
      "Byte order": ">"
    },
    {
      "dtype spelling": "u1",
      "Resolved dtype": "uint8",
      "Itemsize": 1,
      "Kind code": "u",
      "Byte order": "|"
    },
    {
      "dtype spelling": "d",
      "Resolved dtype": "float64",
      "Itemsize": 8,
      "Kind code": "f",
      "Byte order": "="
    },
    {
      "dtype spelling": "f",
      "Resolved dtype": "float32",
      "Itemsize": 4,
      "Kind code": "f",
      "Byte order": "="
    },
    {
      "dtype spelling": "U16",
      "Resolved dtype": "",
      "Itemsize": 64,
      "Kind code": "U",
      "Byte order": "="
    }
  ],
  "sources": [
    {
      "title": "NumPy documentation: Data type objects",
      "url": "https://numpy.org/doc/stable/reference/arrays.dtypes.html",
      "accessed": "2026-11-14"
    },
    {
      "title": "NumPy user guide: Data types",
      "url": "https://numpy.org/doc/stable/user/basics.types.html",
      "accessed": "2026-11-14"
    }
  ]
}