Skip to content

Commit

Permalink
fix .drop() axis
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkokotila committed Apr 20, 2024
1 parent c6ac9da commit 1cec723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrangle/df/df_corr_randomforest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def df_corr_randomforest(data, y, destructive=True):
if destructive is False:
data = data.copy(deep=True)

x = data.drop(y, 1).values
x = data.drop(y, axis=1).values
labels = data.drop(y, axis=1).columns
y = data[y].values

Expand Down

0 comments on commit 1cec723

Please sign in to comment.