Skip to content

♻️ Replace numpy._typing._ArrayLike with _numtype equivalents#861

Draft
Aniketsy wants to merge 2 commits intonumpy:mainfrom
Aniketsy:fix-568-clean
Draft

♻️ Replace numpy._typing._ArrayLike with _numtype equivalents#861
Aniketsy wants to merge 2 commits intonumpy:mainfrom
Aniketsy:fix-568-clean

Conversation

@Aniketsy
Copy link
Copy Markdown
Contributor

Towards #568

Replaces the following:--

  • _ArrayLikeBool_co -- _nt.ToBool_nd
  • _ArrayLikeInt_co -- _nt.CoInteger_nd
  • _ArrayLikeUInt_co -- _nt.CoUInt64_nd
  • _ArrayLikeFloat_co -- _nt.CoFloating_nd
  • _ArrayLikeFloat64_co -> _nt.CoFloat64_nd
  • _ArrayLikeComplex_co -> _nt.CoComplex_nd
  • _ArrayLikeNumber_co -> _nt.CoComplex_nd
  • _ArrayLikeObject_co -> _nt.ToObject_nd
  • _ArrayLikeTD64_co -> _nt.CoTimeDelta_nd
  • _ArrayLikeDT64_co -> _nt.CoDateTime_nd
  • _ArrayLikeStr_co -> _nt.ToStr_nd
  • _ArrayLikeBytes_co -> _nt.ToBytes_nd
  • _ArrayLikeString_co -> _nt.ToString_nd
  • _ArrayLikeAnyString_co-> _nt.ToCharacter_nd
  • _ArrayLikeVoid_co -> _nt.ToGeneric_nd
  • _ArrayLikeInt -> _nt.ToInteger_nd

left with generic _ArrayLike[_ScalarT] for the follow up

@jorenham
Copy link
Copy Markdown
Member

needs a rebase

@Aniketsy
Copy link
Copy Markdown
Contributor Author

needs a rebase

yes, marking in draft till then .

@Aniketsy Aniketsy marked this pull request as draft April 28, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants