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

Querying points doesn't filter the associated table #567

Open
LucaMarconato opened this issue May 24, 2024 · 1 comment
Open

Querying points doesn't filter the associated table #567

LucaMarconato opened this issue May 24, 2024 · 1 comment

Comments

@LucaMarconato
Copy link
Member

When performing a query on points, the associated table is not filtered. This is bug is due to the fact that originally points couldn't be annotated by a table.

@LucaMarconato
Copy link
Member Author

A workaround is trivial, for instance:

sdata_crop["my_table"] = sdata["my_table"]
queried_points = sdata_crop["my_points"].index.compute()
sdata_crop["my_table"] = sdata_crop["my_table"][queried_points].copy()

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

No branches or pull requests

1 participant