Introduction to numpy, scipy and matplotlib

accessing an array through its attributes allows you to get and sometimes set intrinsic properties of the array without creating a new array. The exposed attributes are the core parts of an array and only some of them can be reset meaningfully without creating a new array: ndarray.flags Information about the memory layout of the array ndarray.shape Tuple of array dimensions ndarray.ndim Number ... ................
................