-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DEPR: Remove ABC(Int|Uint|Float)64Index #50775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEPR: Remove ABC(Int|Uint|Float)64Index #50775
Conversation
f008912
to
4f13011
Compare
4f13011
to
0d503ce
Compare
Float64Index(np.arange(5, dtype="float64")), | ||
Int64Index(np.arange(5, dtype="int64")), | ||
UInt64Index(np.arange(5, dtype="uint64")), | ||
# TODO: add more dtypes here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've got some problems with arithmetics with non-64-bit indexes. I'd like to take them in a follow-up.
05c23dd
to
485eb10
Compare
All green now. |
@@ -669,15 +669,15 @@ def test_mul_int_array(self, numeric_idx): | |||
result = idx * np.array(5, dtype="int64") | |||
tm.assert_index_equal(result, idx * 5) | |||
|
|||
arr_dtype = "uint64" if isinstance(idx, UInt64Index) else "int64" | |||
arr_dtype = "uint64" if idx.dtype == np.uint64 else "int64" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use is_unsigned_integer_dtype here? Ok as follow up
thx @topper-123 |
Progress towards #42717.