JuliaPy / JuliaPy/PythonCall.jl

Better show for numpy array

未关闭
#361 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Julia
星标
1.1k
派生
86
平均合并
1 天 22 小时
30 天内合并 PR
3

描述

**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**

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
julia, numpy, python, vscode
领域
developer-experience
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。