Timedelta in int konvertieren
df['tdColumn'] = df['tdColumn'].dt.days.astype('int16')
Kwams
df['tdColumn'] = df['tdColumn'].dt.days.astype('int16')
import numpy as np
(td / np.timedelta64(1, 'D')).astype(int)