as_duration# API documentation for tradeexecutor.utils.summarydataframe.as_duration Python function. as_duration(v)[source]# Format value as a duration Parameters: v (timedelta) – Return type: Value