alteryx / alteryx/evalml

Define consistent behavior for empty DataFrames in pipelines

Aperta
#2,554 0 commenti 0 reazioni 1 assegnatario Rivendicata da @asniyaz Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
850
Fork
96
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

As discussed [here](https://github.com/alteryx/evalml/pull/2531#discussion_r676655143), the introduction of column selectors allows for the possibility of passing empty DataFrames through pipelines.

At this point in time, `SelectColumns` will return an empty DF if no column names are passed in to the class, but `SelectByType` will throw an error in this case or if no columns of the selected type/tag were found in the DF. However, components farther down in pipelines will throw their own exceptions if passed empty DataFrames.

After discussion, consensus is that all components should be tolerant to empty inputs.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.