当 `subset` 参数是选择多个列的表达式或选择器时,DataFrame `n_unique()` 会忽略其他列。
作者: nastasie-octavian创建于 2026年8月20日更新于 2026年9月17日
标签bugpythonacceptedP-highA-selectors
Checks
- I have checked that this issue has not already been reported.
- I have confirmed this bug exists on the latest version of Polars.
内容来源: pola-rs/polars