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

How to download only desired entry rows from Eland? #510

Closed
IavTavares opened this issue Dec 27, 2022 · 1 comment
Closed

How to download only desired entry rows from Eland? #510

IavTavares opened this issue Dec 27, 2022 · 1 comment

Comments

@IavTavares
Copy link

IavTavares commented Dec 27, 2022

Currently, if I want to create a dataframe with specific entries from an index, using Eland, I must first download a dataframe with all the columns, and then filter them out, locally... this is hardly desirable in terms of CPU and RAM local usage. Is there a way to push the filtering to the ES nodes instead, and simply download the already filtered dataframe?

@sethmlarson
Copy link
Contributor

You can filter out which columns to download either using the columns=[...] parameter on the DataFrame constructor or you can use the DataFrame.filter() method to cut down on the columns to be requested before calling .to_pandas().

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

No branches or pull requests

2 participants