alteryx / alteryx/featuretools

Ideas for reintroducing `fill_value` to Lag primitive

Offen
#2,266 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
time series
Vorherrschende Sprache
Python
Sterne
7.7k
Forks
915
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

After discussing https://github.com/alteryx/featuretools/pull/2252 we decided to remove `fill_value` from `Lag` since it may be a problem with multiple types of columns in DFS. If there is a need to bring this back we proposed a few ideas:

- introduce `fill_value` but induce another parameter that allows the user to overwrite the input_types. That way DFS will only apply lag to one type and `fill_value` can be applied safely.
- make `fill_value` default to an empty dictionary where the user can overwrite that and specify different fill values for different types of columns. eg `{"categorical": "foo", "numeric":0}`

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.