procurement-analytics / compranet-data

Processing scripts to prepare Compranet data for use in procurement analytics
4 stars 1 forks source link

Fix the calculation of average timeline #6

Closed olafveerman closed 9 years ago

olafveerman commented 9 years ago

Calculating the mean from regular timedelta's produces negative values. This is fixed by converting the td to hours before calculating the mean