ENH: Recoding value expressions
Ability to specify categorical recoding replacement values as expressions which are evaluated on the data. For example,
--recoding 123 "1, 2, 3" "100, max() + 1, 300"
would cause, for data-field 123, values of 1 and 3 to be respectively replaced with 100 and 300, and value 2 to be replaced with one plus the maximum value of data-field 123.
This MR also includes some miscellaneous updates to make the code compatible with Pandas 2.x.
Edited by Paul McCarthy