Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
df.index.dtype is int64 with pandas 3.0.0.dev0+1132.ga5e812d86d, although the dtype parameter already sets it to np.uint32. The issue is similar to an old issue #9435.
Expected Behavior
Pandas 2.x correctly returns uint32, which is the expected behavior.
Pandas version checks
Reproducible Example
Issue Description
df.index.dtype
isint64
with pandas3.0.0.dev0+1132.ga5e812d86d
, although thedtype
parameter already sets it tonp.uint32
. The issue is similar to an old issue #9435.Expected Behavior
Pandas 2.x correctly returns
uint32
, which is the expected behavior.Installed Versions