We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a60720c commit 3cadd01Copy full SHA for 3cadd01
src/team_comm_tools/feature_builder.py
@@ -152,7 +152,7 @@ def __init__(
152
raise TypeError(f"Expected a Pandas DataFrame as input_df, but got {type(df).__name__})")
153
154
print("Initializing Featurization...")
155
-
+ input_df = input_df.reset_index(drop=True) # reset index to avoid issues with indexing later on
156
###### Set all parameters ######
157
158
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