Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chunk get_data requests #29

Open
mullenkamp opened this issue Jun 29, 2021 · 0 comments
Open

Chunk get_data requests #29

mullenkamp opened this issue Jun 29, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mullenkamp
Copy link
Owner

mullenkamp commented Jun 29, 2021

Currently, the get_data function sends one request to the Hilltop server for data. The request may be for 2 data points or 2 million. I find that some Hilltop servers struggle when the request is really big (e.g. > 1,000,000 data points). I also find that parsing the giant xml into pandas dataframes is sluggish and make the memory footprint of the dataframes larger than they should be.
Providing an option to chunk out a get_data request into multiple smaller requests based on a fixed number of years would solve these issues. I've already written some code for this in the past.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant