translation#

Tools to convert numpy/pandas vectors/matrices between different index systems.

In transport, these tools are very useful for translating data between different zoning systems.

Functions#

numpy_matrix_zone_translation(matrix, ...[, ...])

Efficiently translates a matrix between index systems.

numpy_vector_zone_translation(vector, ...[, ...])

Efficiently translates a vector between index systems.

pandas_matrix_zone_translation(matrix, ...)

Efficiently translates a pandas matrix between index systems.

pandas_vector_zone_translation(vector, ...)

Efficiently translates a pandas vector between index systems.