@_if_no_trips_return_inf<EOL><INDENT>def mean_trip_duration(self):<DEDENT>
return numpy.mean(self.trip_durations)<EOL>
Get average travel time to destination.

Returns
-------
float: max_trip_duration
    float('inf') if no trips take place