calculate_vehicle_kms#
- caf.van.lgv_model.calculate_vehicle_kms(matrix, distances, internals=None)[source]#
Summarise number of trips and vehicle kilometres by internal/external.
- Parameters:
- Returns:
The number of trips and vehicle kilometres in the matrix, if internals is given then splits the totals into II, IE, EI and EE.
- Return type:
pd.DataFrame