JuliaPy / JuliaPy/PythonCall.jl
Better show for numpy array
- Dominant language
- Julia
- Stars
- 1.1k
- Forks
- 86
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 3
Description
**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**
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia, numpy, python, vscode
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100