Repository navigation
Q: Faster way to Filter DataView #6164
Description
Activity
Hi @torronen
Is this for the DataView or DataFrame? Looks like DataFrame, but just wanted to confirm before tagging it.
@luisquintanilla yes, you are correct, it is DataFrame.
Reacted by Luis Quintanilla- addedenhancementNew feature or requestNew feature or requestand removeduntriagedNew issue has not been triagedNew issue has not been triaged
on Apr 25, 2022 Thanks for that clarification.
What do you mean by "support some type indices"? Also, do you have any numbers for speed between this and LINQ? It would be good to see how far behind we really are.
@michaelgsharp I am thinking about something like a dictionary or hashset to select items quickly. For example, I might want get metrics for observations from each city separately: one test set for Helsinki, 2nd for Seattle etc.
Getting the numbers is a good point to validate it. Actually, this issue is mostly about my perception of slowness and I do not yet have an exact comparison. I will do some, but I might not be able to get them very quickly.
Some increase in performance of Filtering should be achieved with #6869.
Reacted by Antti "Andy" Törrönen- addedarea-DataFrameMicrosoft.Data.Analysis DataFrame APIsMicrosoft.Data.Analysis DataFrame APIsand removed
on Sep 8, 2026 Triage: we don't see enough demand for such a large change.
I filter data from a dataview to get all items within a specific time period.
It seems slow compared to filtering with LINQ from objects in memory. Is there a faster way to do it?
In this example, I am creating predictions for a certain time period at a time.
In another example, I may need to filter by exact match. Normally, I might create a dictionary to help, but is there a way to support some type "indices" for DataViews?