Suppose T
is numpy.datetime64
in units of ms. Is there a less obscure way to convert the units than this?
T1 = np.array( [T], dtype = 'datetime64[ns]' )[0]
I'm prefer something more guessable, and, for that matter, readable.
Suppose T
is numpy.datetime64
in units of ms. Is there a less obscure way to convert the units than this?
T1 = np.array( [T], dtype = 'datetime64[ns]' )[0]
I'm prefer something more guessable, and, for that matter, readable.
Copyright © 2021 Jogjafile Inc.
Is this what you're looking for?