JuliaPy / JuliaPy/PyPlot.jl

implement object[Integer...]

Ouverte
#150 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Julia
Étoiles
488
Forks
90
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
julia, python
Domaine
data-visualization
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.