Movatterモバイル変換


[0]ホーム

URL:


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

TYP: preserve shape-type in ndarray.astype()#28177

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
charris merged 1 commit intonumpy:maintenance/2.2.xfromcharris:backport-28169
Jan 17, 2025

Conversation

charris
Copy link
Member

Backport of#28169

This patch changes the return type in astype() from NDArray to ndarray so that shape information is preserved and adds tests for it.

Similar changes are added to np.astype() for consistency.

This patch changes the return type in astype() from NDArray to ndarrayso that shape information is preserved and adds tests for it.Similar changes are added to np.astype() for consistency.
@charrischarris added 08 - BackportUsed to tag backport PRs 41 - Static typing labelsJan 17, 2025
@charrischarris added this to the2.2.2 release milestoneJan 17, 2025
@charrischarris merged commit2230a08 intonumpy:maintenance/2.2.xJan 17, 2025
68 checks passed
@charrischarris deleted the backport-28169 branchJanuary 17, 2025 22:24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
08 - BackportUsed to tag backport PRs41 - Static typing
Projects
None yet
Milestone
2.2.2 release
Development

Successfully merging this pull request may close these issues.

2 participants
@charris@ntrrgc

[8]ページ先頭

©2009-2025 Movatter.jp