Skip to content

Return new transformer when calling fit #90

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

Methods of data containers like Table always return a new data container. The fit method of transformers (safeds.data.tabular.transformation), however, mutates the transformer in place.

Desired solution

  • fit should return a new transformer.
  • fit_transform should maybe return the fitted transformer and the transformed table.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

Labels

releasedIncluded in a release

Type

No type

Projects

Status

✔️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions