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

Lookup and indexing functions #29

Open
ocramz opened this issue Dec 14, 2022 · 2 comments
Open

Lookup and indexing functions #29

ocramz opened this issue Dec 14, 2022 · 2 comments

Comments

@ocramz
Copy link

ocramz commented Dec 14, 2022

Is there a way to lookup indices, filter rows and so on?

@andrewthad
Copy link
Member

andrewthad commented Dec 14, 2022

Can you explain what you mean? I think that, to filter rows, you would filter the collection that you are encoding it before passing it to any of colonnade’s functions.

@ocramz
Copy link
Author

ocramz commented Dec 15, 2022

Yes sorry for the brief ticket, this confirms my understanding of the API.

The internal OneColonnade ("Column" ?) type is a sort of "pull array" [1] but has no notion of row index.

I was looking for a way to use 'colonnade' as the basis for a "dataframe" of sorts, like Apache Arrow.

  1. https://hackage.haskell.org/package/massiv-1.0.0.0/docs/src/Data.Massiv.Array.Delayed.Pull.html#DArray

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

No branches or pull requests

2 participants