Vectorised lookup
See original GitHub issueHi there,
Love the project. Just wondering whether there is a way to use something like from_pdgid with an iterable of integers. Instantiating a new particle object for each is very expensive, and if I’m just trying to quickly look up a restricted selection of properties en masse it isn’t very practical for my use case.
Kind regards, Jacan.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
LOOKUP function - Microsoft Support
The vector form of LOOKUP looks in a one-row or one-column range (known as a vector) for a value and returns a value...
Read more >Excel LOOKUP function with formula examples - Ablebits
In this context, a vector refers to a one-column or one-row range. Consequently, you use the vector form of LOOKUP to search one...
Read more >LOOKUP Function - Formula, Uses, How to Lookup Data in ...
The vector form of the LOOKUP function will search one row or one column of data for a specified value and then get...
Read more >Excel LOOKUP function | Exceljet
The Excel LOOKUP function performs an approximate match lookup in a one-column or one-row range, ... The lookup function has two forms, vector...
Read more >VECTOR LOOKUP - Vensim
The function VECTOR LOOKUP encompasses the behavior of all the regular lookup function with the results of using the function determined by the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi Eduardo,
Thank you for the response! I definitely am under no allusions that my scrappy single file module, which just wraps a pandas DataFrame of your CSV, is anywhere near as sophisticated and optimised as your project. I think I may have not fully understood the functionality, and assumed the use case you were catering for was a little different to mine.
I will explore the other class methods and if it appears I am missing the functionality I’m after, I’ll make a more detailed and informed contribution.
Noted, starred the project. ;P
Thanks for the help, Jacan.
Congrats, you’re the 100th star 👍 !