⚡ Sangsakala Proxy 🏠 Home
Skip to content

How do you handle cases when data is too much for memory? Pandas issue #254

Open

Description

@nyck33

Pandas can only hold data as big as the available memory on a machine.
So how are you loading it in say am making queries to Snowflake?

Activity

  1. minjk-bl commented on Nov 27, 2023

    @minjk-bl
    Collaborator

    Hello @nyck33
    visualpython is using python libraries such as pandas, numpy and so on. So it'll work as other libraries do.
    And some more explanation is needed for your second line.

    So how are you loading it in say am making queries to Snowflake?

  2. nyck33 commented on Nov 27, 2023

    @nyck33
    Author

    @minjk-bl Pandas can only hold as much data as the amount of memory on machines. What if there is a dataset with millions of rows that takes 10 GB and I only have 8 GB RAM on my machine? This is where Spark and Dask dataframes are useful right? But if you're trying to load with Pandas then it's just going to be an error. How do you handle this? Do you load in chunks and say for example: "rows 0 to 10,000", "10,001 to 20,000", etc?

  3. minjk-bl commented on Feb 26, 2024

    @minjk-bl
    Collaborator

    @nyck33
    My apologies for the delayed response.
    In fact, we are not handling large-scale data processing separately.
    Visual Python is currently running on the configured Jupyter environment using Python packages, so no specific code optimization has been implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions