JuliaPy / JuliaPy/PyPlot.jl

implement object[Integer...]

オープン
#150 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Julia
スター
488
フォーク
90
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, python
領域
data-visualization
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。