RMI-PACTA / pacta.multi.loanbook

Calculate PACTA climate metrics across multiple loan books.
https://rmi-pacta.github.io/pacta.multi.loanbook/
Other
0 stars 0 forks source link

merge `validate_data_has_expected_cols()` and `stop_if_not_expected_columns()` #124

Closed cjyetman closed 1 month ago

cjyetman commented 1 month ago

validate_data_has_expected_cols() was brought over from pacta.multi.loanbook.analysis while there was already stop_if_not_expected_columns() here. We should merge their functionality and convert any calls to validate_data_has_expected_cols() in the ported code from pacta.multi.loanbook.analysis to stop_if_not_expected_columns().