#66490·pandas

BUG: `factorize(use_na_sentinel=True)` 对预先编码的 PyArrow `DictionaryArray` 忽略 `use_na_sentinel`

作者: camriddell创建于 2026年7月27日更新于 2026年9月28日
标签BugAlgosArrow

`pandas.factorize` produces inconsistent results for PyArrow dictionary-encoded arrays depending on how the input `DictionaryArray` was structured.

内容来源: pandas-dev/pandas