py#查看array数组、DataFrame所占内存


#导入支持库
import sys
#读取数组所占内存,单位为MB
sys.getsizeof(array)/1024/1024

相关