Hitung perbedaan tanggal setelah groupby
df['diff'] = df.groupby('Type')['Date'].apply(lambda x: x.dt.date - x.min().date())
Real Raccoon
df['diff'] = df.groupby('Type')['Date'].apply(lambda x: x.dt.date - x.min().date())