Если вы используете pandas dataframe, вы можете использовать series dt accessor для преобразования разницы между датами в секунды.
import pandas as pd
df = pd.DataFrame(data={
'from': ["01/30/2020 1:55:00", "01/25/2020 15:30:00"],
'to': ["01/30/2020 09:44:00", "01/26/2020 1:55:00"]})
# convert to datetime objects
df['from'] = pd.to_datetime(df['from'])
df['to'] = pd.to_datetime(df['to'])
df['difference'] = (df['to'] - df['from'])
df['difference_seconds'] = df['difference'].dt.total_seconds()
print(df)
Это даст таблицу например:
| | from | to | difference | difference_seconds |
|---:|:--------------------|:--------------------|:----------------|---------------------:|
| 0 | 2020-01-30 01:55:00 | 2020-01-30 09:44:00 | 0 days 07:49:00 | 28140 |
| 1 | 2020-01-25 15:30:00 | 2020-01-26 01:55:00 | 0 days 10:25:00 | 37500 |