How do I calculate the difference in time in minutes for the following timestamp in Python?
2010-01-01 17:31:22 2010-01-03 17:31:22
there is also a sneak way with pandas:
pd.to_timedelta(x) - pd.to_timedelta(y)