pd.Series.memory_usage¶ pandas.Series.memory_usage(index=True, deep=False) 支持的参数¶ 参数 数据类型 其他要求 index 布尔值 必须在编译时为常量 注意 这跟踪了Bodo使用的字节数,可能与Pandas的值不同。 示例用法¶ >>> @bodo.jit ... def f(S): ... return S.memory_usage() >>> S = pd.Series(np.arange(1000)) >>> f(S) 8024