Skip to content

Compute memory usage of bid pandas dataframes #321

Open
@martinRenou

Description

@martinRenou

As discussed in #319 (review)

It would be nice to compute the memory_usage of big pandas dataframes. One proposed solution is to do:

sum([
    size_of(dtype) * count
    for dtype, count in x.dtypes.value_counts().items()
]) * len(x)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions