Skip to content

Commit

Permalink
Fix index error when using from_delayed: see https://github.com/tmoer…
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier B. Poirion committed Aug 22, 2019
1 parent 3ff7b6f commit 2d5ac7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arboreto/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def pythonic():

clean_links_df = links_df[links_df.importance > 0].sort_values(by='importance', ascending=False)

return clean_links_df[['TF', 'target', 'importance']]
return clean_links_df[['TF', 'importance', 'target']]

if is_sklearn_regressor(regressor_type):
return pythonic()
Expand Down

0 comments on commit 2d5ac7c

Please sign in to comment.