Closed antipisa closed 4 years ago
You can do
>>> numpy.asarray(q('.z.P').enlist)[0]
numpy.datetime64('2018-08-05T19:26:35.701942000')
but we will look into a way to make
np.datetime64(q('.z.P'))
work.
SyntaxError: invalid syntax
In your last example, you are missing a quote mark.
Stale issue message
What is the right way to convert a scalar timestamp/timedelta from kdb to numpy?
I notice that this works:
but this does not:
Same thing for timespans: