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

Columns row/column based indexing API #541

Closed
philippjfr opened this issue Mar 7, 2016 · 5 comments
Closed

Columns row/column based indexing API #541

philippjfr opened this issue Mar 7, 2016 · 5 comments
Assignees
Milestone

Comments

@philippjfr
Copy link
Member

As we further broaden the scope of the Columns interfaces and provide support for various out-of-memory data backends it's becoming clear that the current interface isn't quite sufficient. When accessing a Columns datastructure it is sometimes necessary to do so by index, e.g. when displaying a Table and only a small subset of rows should be shown or when trying to randomly sampling from the data. Currently this requires each column to be loaded into memory in its entirety to index into them. Instead there should be an API on the Columns class to slice the row and column directly. I could imagine something like this table.cells[0:10, 0:2], where cells is a small object that allows slicing by index.

@philippjfr philippjfr added type: feature A major new feature tag: API labels Mar 7, 2016
@philippjfr philippjfr added this to the v1.5.0 milestone Mar 7, 2016
@jbednar
Copy link
Member

jbednar commented Mar 7, 2016

Would this API provide Raster-like access for Image and RGB objects?

@philippjfr
Copy link
Member Author

That would also benefit from an interface to slice into the array by index but I'm not sure if the two interfaces should be shared.

@jbednar
Copy link
Member

jbednar commented Mar 7, 2016

Seems like they ought to have the same spelling, at least...

@philippjfr philippjfr modified the milestones: v1.6.0, v1.5.0 Apr 20, 2016
@philippjfr philippjfr self-assigned this Mar 4, 2017
@philippjfr philippjfr modified the milestones: v2.0, v1.7.0 Mar 15, 2017
@philippjfr philippjfr modified the milestones: v1.8, v2.0 Jun 23, 2017
@philippjfr
Copy link
Member Author

Tabular and nd-array indexing interfaces have been added in #1435.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants