Tuesday, 15 January 2013

python - how to store duration in a pandas column in minutes:second format that allows arithemtic? -



python - how to store duration in a pandas column in minutes:second format that allows arithemtic? -

currently storing duration in pandas column using strings. illustration '12:05' stands 12 minutes , 5 seconds.

i convert pandas column string format allows arithmetic, while retaining mm:ss format.

i avoid storing day, hour, dates, etc.

real timedelta back upwards available in 0.15.0, see docs here

python pandas

No comments:

Post a Comment