-
Notifications
You must be signed in to change notification settings - Fork 33
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
Documentation about multi_index and query #347
Comments
Hi @michael-imbeault, I will be taking a pass through the API docs this week to add some missing items, as well as fix a rendering issue preventing some docstrings from displaying. We also have documentation of Here is a summary for
For large multi-ranged queries, there can be a significant benefit to using There can be an efficiency benefit to using |
Ok that's helpful - I did find https://docs.tiledb.com/main/api-usage/reading-arrays/multi-range-subarrays but its a little barebones at the moment - no mention of either multi_index nor query in https://tiledb-inc-tiledb-py.readthedocs-hosted.com/en/stable/python-api.html. I'll be using multi_index - my initial expectation was that it would return a list of numpy arrays corresponding to the slices, not a dict with a single array encompassing all the slices I have to parse using the coordinate arrays. Is there plans to include a simple, already parsed output? The current way make sense for sparse arrays but seems suboptimal for dense arrays - creating those (potentially very large) coord arrays and keeping them in memory seems wasteful for some use cases. |
- Don't return coords for dense multi_index by default (#347) Fix and test coords exclusion for sparse array queries
- Don't return coords for dense multi_index by default (#347) - Fix and test coords exclusion for sparse array queries
- Don't return coords for dense multi_index by default (#347) - Fix and test coords exclusion for sparse array queries
- Don't return coords for dense multi_index by default (#347) - Fix and test coords exclusion for sparse array queries
I can't find mentions of multi_index nor for the query() method in the official docs - been using multi_index but it is outputting a lot more information that I need (about positions in the array, then the values themselves). Is there a parameter to output just a list of results containing only values following the order of the slices? And what is the purpose of .query, is there any more to it than just another way to read results instead of using A[:] ?
Is there any efficiency benefit at using multi_index vs looping through intervals using query or the normal [] read mode?
The text was updated successfully, but these errors were encountered: