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.

贡献者指南