Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BUG: IntervalIndex.from_arrays with int64 vs uint64 arrays #55715

Open
Labels
Bug IntervalInterval data type
@jbrockmendel

Description

ser = pd.Series(range(5))
ser2 = ser.astype("uint64")
ii = pd.IntervalIndex.from_arrays(ser.values, ser2.values)
>>> ii.right.dtype
dtype('uint64')

We do some casting in _ensure_simple_new_inputs to check we have matching dtypes, but looks like we miss signed-vs-unsigned cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug IntervalInterval data type

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /