I don't know the cause, but if
syukkin_time=datetime.datetime.strptime(syukkin_time, '%H:%M'), the date (1900, 1, 1) will be given.
In some environments, such as time zones, it may interfere with time calculations.
If you want to convert from a string to seconds, you may have asked a question in the past, so you should check it out
Below is how to use pandas
© 2022 OneMinuteCode. All rights reserved.