-
Notifications
You must be signed in to change notification settings - Fork 13
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
Passing a DataFrame with datetime64[us] to kdb errors #22
Comments
As a temporary workaround - |
We'll open a ticket internally to add support for |
Hi @erichards97, Yesterday we released a fix for this with our 2.4.0 version of PyKX, change to support this is here. For full release notes see here |
Great, thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Calling a KDB function over IPC and providing a DataFrame as an argument that contains a column of
datetime64[us]
results in an error: TypeError: ktype cannot be inferred from Numpy dtype datetime64[us]I imagine
datetime64[ns]
is the standard pandas/numpy type, however we receiveus
when pulling data from a SQL database using turbodbc (which we're then trying to send to KDB), and converting between the two types feels unnecessary.To Reproduce
q('myfunction', df)
where df has a column of datetime64[us]
Expected behavior
The df to be converted to a KDB table, with column of type timestamp.
Screenshots
N/A
Desktop (please complete the following information):
Additional context
N/A
Thanks
The text was updated successfully, but these errors were encountered: