alteryx/evalml

Identify Places to use ._set_index() and Refactor

開放

#3,716 建立於 2022年9月15日

 (2 則留言) (0 個反應) (0 位負責人)Python (93 個分叉)auto 404
good first issuetech debt

倉庫指標

星標
 (852 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

In #3599 , the ._set_index(X,y) function was introduced to the PolynomialDecomposer as a means to use either a pandas.DatetimeIndex or a column in X containing date time information to populate the index of the target (y) with a pandas.DatetimeIndex. It might be desirable to move this function up either to the parent Decomposer class or even higher into the Transformer or Component class for reuse with other functions, particularly other subclasses of Decomposer that are coming down the line.

The work for this story is to identify and enumerate additional issues for other places we might want to use this function, propose a target class for it to migrate to and migrate the function to that class.

貢獻者指南