JuliaPy / JuliaPy/PythonCall.jl

README example 1 error at `pytable(iris)`

Đang mở
#795 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
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ả

**Affects:** PythonCall

**Describe the bug**
Running Pluto notebook and attempting to reproduce Example 1 in the README. `pytable(iris)` errors with:
`Python: Julia: ArgumentError: Unordered CategoricalValue objects cannot be tested for order using <. Use isless instead, or call the ordered! function on the parent array to change this`

**Your system**
Ubuntu 25.10
Pluto v1.0.1

Pkg.status() ***
[992eb4ea] CondaPkg v0.2.36
[6099a3de] PythonCall v0.9.35
[ce6b1742] RDatasets v0.8.1
[44cfe95a] Pkg v1.12.1

CondaPkg.status() ***
seaborn v0.13.2

perhaps a known issue related to issue #88

line reference:
https://github.com/JuliaPy/PythonCall.jl/blob/e477d4d805f5136c274576cc37cea6101bebe4c5/examples/seaborn.jl#L20

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 by reproducing README Example 1 in a Pluto notebook and inspect examples/seaborn.jl at line 20, where pytable(iris) is called. Confirm the reported CategoricalValue error with the listed environment. Done means the README example runs successfully without this error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
documentation
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.