Selectors
TODO
This section will introduce the selector methods available in Kloppy: find, find_all, next, prev, and filter. These methods allow for traversal of event datasets making it easy to extract specific events of interest.
Topics to cover:
- Overview of each selector:
find: return the first matchfind_all: return all matching elementsfilter: return a new datasetnext: get the next event after a given oneprev: get the previous event
- Selector accept a string or a custom function
- Combining selectors for sequence-based logic