alteryx / alteryx/featuretools

Sorting and Grouping for ft.DateOffset with Multiple Units

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

Beschreibung

#### Bug/Feature Request Description
For group_features() in feature_set.py, features are sorted then grouped using a key function. Within this key function, _get_use_previous appears as one of the factors to sort and group features.

In the implementation shown in #732, _get_use_previous returns a tuple with the unit and value for timedeltas with one unit. However, Timedeltas with more than one parameter has an empty tuple.

#### Expected Output
For features with a Timedelta containing multiple units, group features should sort and group features with multiple units properly.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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