Skip to content

Commit

Permalink
Drop setting ID as index as it is already
Browse files Browse the repository at this point in the history
  • Loading branch information
FanwangM committed Oct 8, 2023
1 parent a6ddce1 commit be79f1c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion b3clf/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def get_descriptors(df):
df.replace([np.inf, -np.inf], np.nan, inplace=True)
df.dropna(axis=0, inplace=True)

df = df.set_index("ID") # This could change
X = df.drop([col for col in df.columns.to_list()
if col in info_list], axis=1)
info = df[[col for col in df.columns.to_list() if col in info_list]]
Expand Down

0 comments on commit be79f1c

Please sign in to comment.