JuliaPy / JuliaPy/PythonCall.jl

README example 1 error at `pytable(iris)`

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

描述

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

贡献指南

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

调研方向

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.

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

评估

技术栈
python
领域
documentation
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

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