Creates new integer columns by extracting specific digits from numeric columns. This function emulates a feature engineering technique often used in machine learning.
Arguments
- barn_obj
A
barn
object, created bybarn()
.- numeric_sufix
The suffix used to identify numeric columns to process. Defaults to "_num".
- from
The starting digit position to extract (e.g., 1 for the first decimal place). Defaults to 1.
- to
The ending digit position to extract (e.g., 9 for the ninth decimal place). Defaults to 9.