Numpy flags
Contains information about memory layout of the array.
array.flags
# C_CONTIGUOUS : True
# F_CONTIGUOUS : True
# OWNDATA : False
# WRITEABLE : False
# ALIGNED : True
# WRITEBACKIFCOPY : False
C
and F
contiguous defines the C or F style single contiguous segment.
WRITEABLE
inherits from the base array (view of another array). If view is created from non writeable array, then view is also non writeable and flag can’t be modified.
If the view is already created and base array becomes non writeable, still we can write to the view and base array changes.