reshape_covariate_dfs function

Function used to transform covariates coming from two dataframes one for spatial and one for temporal into a single dataframe with the right shape for the BKTR Regressor. This is useful when the temporal covariates do not vary trough space and the spatial covariates do not vary trough time (Like in the BIXI example). The function also adds a column for the target variable at the beginning of the dataframe.

  • Maintainer: Julien Lanthier
  • License: MIT + file LICENSE
  • Last published: 2024-08-18

Useful links