Rezone#

class caf.van.rezone.Rezone[source]#

Class for rezoning a matrix when given a lookup with splitting factors.

Attributes

Methods

read(path, columns)

Read the lookup file.

rezone(df, lookup, df_col[, lookup_old, ...])

Rezones a dataframe with a lookup dataframe, using splitting factors.

rezone_od(df, lookup[, df_cols])

Rezones the matrix on both the origin and destination columns.

Attributes Documentation