Skip to content
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

Cannot ingest a numpy array if type datetime64 #1274

Closed
st-pasha opened this issue Sep 6, 2018 · 0 comments · Fixed by #1276
Closed

Cannot ingest a numpy array if type datetime64 #1274

st-pasha opened this issue Sep 6, 2018 · 0 comments · Fixed by #1276
Assignees
Labels
bug Any bugs / errors in datatable; however for severe bugs use [segfault] label
Milestone

Comments

@st-pasha
Copy link
Contributor

st-pasha commented Sep 6, 2018

import numpy
import datatable as dt
a = numpy.zeros(dtype="<M8[s]", shape=(10,))
d = dt.Frame(a)

raises ValueError: cannot include dtype 'M' in a buffer.

The expected behavior is that this column gets converted into strings; and when the datetime type is implemented, it should be converted into a datetime column.

@st-pasha st-pasha added the bug Any bugs / errors in datatable; however for severe bugs use [segfault] label label Sep 6, 2018
@st-pasha st-pasha self-assigned this Sep 6, 2018
@st-pasha st-pasha added this to the Release 0.7.0 milestone Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Any bugs / errors in datatable; however for severe bugs use [segfault] label
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant