为什么np.timedelta64不接受np.int64等numpy整数?
np.timedelta64(np.int64(2),'h')
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-75-fd40c0d8eac0> in <module>()
----> 1 np.timedelta64(np.int64(2),'h')
ValueError: Could not convert object to NumPy timedelta