-
Notifications
You must be signed in to change notification settings - Fork 98
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
NDarray of DateTime #119
Comments
I don't know. Can you post an equivalent snippet in Python? |
@henon Well there's multiple ways. I think this is the most idiomatic:
You can also do this:
But if I had to emulate the C# as closely as I could, I guess I was attempting something like this:
So it looks like there's an |
If you know how the date times are represented in memory in numpy (i.e. milliseconds since 1970 or whatever, I really don't know) then you can always use this workaround as described in #115 by creating a byte[] that contains the data which represent the datetimes you want. Of course that is a quite inconvenient workaround. I'll look into it how I can support date time arrays, maybe I'll have to use the same workaround internally anyway. |
Originally posted by @amine-aboufirass in #50 (comment)
The text was updated successfully, but these errors were encountered: