numpy.ndarray.__setstate__

ndarray.__setstate__(version, shape, dtype, isfortran, rawdata)

For unpickling.

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)

Previous topic

numpy.ndarray.__reduce__

Next topic

numpy.ndarray.__new__

This Page