Skip to content

Support for storing numpy datetime64 type #1022

@jverswijver

Description

@jverswijver

Feature Request

Problem

Unpacking Python native type Datetime is slow, I currently am working on a PR to hopefully improve the performance of unpacking regular Datetime objects. In the process of reviewing this PR @dimitri-yatsenko has shown that the unpacking of np.datetime64 is much faster than native Datetime. We should look into adding support for np.datetime objects.

Requirements

Update Datajoint.Blob Unpack/Pack methods to support np.datetime64

Justification

Adding support for this type would greatly improve performance of retrieving datetime objects

Alternative Considerations

Current workaround is found here

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIndicates new improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions