Skip to main content

Step.update_roles()

Update roles to reflect the column changes made by this step.

Usage

Source

Step.update_roles(roles)

Called by the recipe after each step is fitted and transformed. The default is a no-op; steps that add, remove, or rename columns override this to keep roles in sync with the live schema.