JuliaPy / JuliaPy/PythonCall.jl
Better show for numpy array
- Ngôn ngữ chính
- Julia
- Star
- 1.1k
- Fork
- 86
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 3
Mô tả
**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**
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- julia, numpy, python, vscode
- Lĩnh vực
- developer-experience
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100