JuliaPy / JuliaPy/PyPlot.jl

implement object[Integer...]

Aperta
#150 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Julia
Stelle
488
Fork
90
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
julia, python
Ambito
data-visualization
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.