Indexing of columns #1

Open
opened 2025-09-14 13:45:02 +01:00 by jonathan · 1 comment
Owner

What I don't yet have in the new model is a mechanism for indexing into columns. I already discussed this in this Github issue comment. Coming back to that discussion, the thrust of it was that [] should support a second "argument" that indexes into a column and that this necessitates being able to pass some default first argument for selecting all columns. The obvious syntax for this would be an open-ended range, a la ...

To support open-ended ranges, I am going to need a range value type and to extend all of the numeric processing code to support these.

What I don't yet have in the new model is a mechanism for indexing into columns. I already discussed this in [this Github issue comment](https://github.com/jonathanhogg/flitter/issues/16#issuecomment-1785730374). Coming back to that discussion, the thrust of it was that `[]` should support a second "argument" that indexes into a column and that this necessitates being able to pass some default first argument for selecting all columns. The obvious syntax for this would be an open-ended range, a la `..`. To support open-ended ranges, I am going to need a range value type and to extend all of the numeric processing code to support these.
Author
Owner

Range value types added as of 52d9b1540c. I need to work on the ternary form of slicing next…

Range value types added as of 52d9b1540c. I need to work on the ternary form of slicing next…
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: jonathan/flitter2#1
No description provided.