JuliaPy / JuliaPy/PythonCall.jl
Better show for numpy array
- Vorherrschende Sprache
- Julia
- Sterne
- 1.1k
- Forks
- 86
- Ø Merge
- 1 T. 22 Std.
- Gemergte PRs (30 T.)
- 3
Beschreibung
**Is your feature request related to a problem? Please describe.**
https://github.com/JuliaPy/PythonCall.jl/blob/ad67c0457ce79f13deb0d04a47808824f8ad7921/src/Py.jl#L186 When it shows a python array in vscode inline results. It would only show `Python` when unexpanded because of the line end. Would it be better to show more informative like Julia Array shows `4×4 Matrix{Float64}:` on the first line?
**Describe the solution you'd like**
shows numpy array shape like `4×4 Matrix{Float64}:`
**Describe alternatives you've considered**
**Additional context**
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start in src/Py.jl around line 186, where Python arrays are shown in VS Code inline results, and compare that representation with Julia Array display behavior. Done means an unexpanded numpy array shows informative shape and type information, such as a 4×4 Matrix{Float64}: header, instead of only Python.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- julia, numpy, python, vscode
- Bereich
- developer-experience
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100