Skip to content

Support "datetime64[{s,ms,us,ns}]" and "timedelta64[{s,ms,us,ns}" aliases - #238

Open
Christian Bourjau (cbourjau) wants to merge 1 commit into
mainfrom
support-time-aliases
Open

Christian Bourjau (cbourjau) wants to merge 1 commit into
mainfrom
support-time-aliases

Conversation

@cbourjau

Copy link
Copy Markdown
Collaborator

Add string aliases for all datetime and timedelta dtypes currently supported by ndonnx. This closes #236 .

@sgilm Sam Gilmour (sgilm) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It now occurs to me that we also have from_numpy_dtype doing a similar job to DTYPE_ALIAS_MAP and normalize_dtype. Do you think it would be worth cleaning that up in a future PR? If so I'd be happy to do that.

Comment thread CHANGELOG.rst
=========

0.22.0 (unreleased)
0.22.0 (2026-09-16)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
0.22.0 (2026-09-16)
0.22.0 (2026-09-17)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide dtype aliases for string and datetime types

3 participants