evalml.pipelines.components.utils.
generate_component_code
Creates and returns a string that contains the Python imports and code required for running the EvalML component.
element (component instance) – The instance of the component to generate string Python code for
String representation of Python code that can be run separately in order to recreate the component instance. Does not include code for custom component implementation.