This is documentation for an old release of NumPy (version 1.14.5). Read this page in the documentation of the latest stable release (version > 1.17).
numpy.ndarray.__setstate__¶
-
ndarray.
__setstate__
(state, /)¶ For unpickling.
The state argument must be a sequence that contains the following elements:
Parameters: version : int
optional pickle version. If omitted defaults to 0.
shape : tuple
dtype : data-type
isFortran : bool
rawdata : string or list
a binary string with the data (or a list if ‘a’ is an object array)