implement object[Integer...]
- Vorherrschende Sprache
- Julia
- Sterne
- 488
- Forks
- 90
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Maybe make `object[i,j,...]` in Julia sugar for `get(object, (i,j,...))`, equivalent to `object[i,j,...]` in Python, for the common case of integer indexing (e.g. #149).
I would prefer to just make `object[...]` equivalent to `object[...]` in Python regardless of the index type, but then I wouldn't have a good syntax for Python's `object.attribute` (until some future Nirvana when dot overloading arrives in Julia).
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Review the proposed object[i,j,...] behavior and the referenced issue #149. Determine whether integer indexing should map to get(object, (i,j,...)) and how the proposal relates to Python-style indexing and attribute access. Done means the desired syntax and its scope are agreed and implemented consistently.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- julia, python
- Bereich
- data-visualization
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100