Skip to content

Commit 3cadd01

Browse files
committed
Fixes #359
1 parent a60720c commit 3cadd01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/team_comm_tools/feature_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def __init__(
152152
raise TypeError(f"Expected a Pandas DataFrame as input_df, but got {type(df).__name__})")
153153

154154
print("Initializing Featurization...")
155-
155+
input_df = input_df.reset_index(drop=True) # reset index to avoid issues with indexing later on
156156
###### Set all parameters ######
157157

158158
assert(all(0 <= x <= 1 for x in analyze_first_pct)) # first, type check that this is a list of numbers between 0 and 1

0 commit comments

Comments
 (0)