NumPy array size for int8 vs bool dtype
I am trying to use numpy
‘s nbytes
attribute to examine the memory usage of arrays with different dtype
. I noticed the following:
I am trying to use numpy
‘s nbytes
attribute to examine the memory usage of arrays with different dtype
. I noticed the following: