import numpy as np (td / np.timedelta64(1, 'D')).astype(int) ... Python answers related to “how to convert timedelta object to integer”.
確定! 回上一頁