Information about the memory layout of the array.
Attributes: | C_CONTIGUOUS (C) :
F_CONTIGUOUS (F) :
OWNDATA (O) :
WRITEABLE (W) :
ALIGNED (A) :
UPDATEIFCOPY (U) :
FNC :
FORC :
BEHAVED (B) :
CARRAY (CA) :
FARRAY (FA) :
|
---|
Notes
The flags object can be also accessed dictionary-like, and using lowercased attribute names. Short flag names are only supported in dictionary access.
Only the UPDATEIFCOPY, WRITEABLE, and ALIGNED flags can be changed by the user, via assigning to flags['FLAGNAME'] or ndarray.setflags. The array flags cannot be set arbitrarily: