Skip to content

Commit

Permalink
Remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomsch committed Dec 9, 2023
1 parent f521fd4 commit c5d8a7f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/python/main/analysis/print_tangled_levels.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ def count_tangled_levels(df: pd.DataFrame, exclusive_levels=False) -> pd.DataFra
result_df = result_df.rename(columns={'tangled_level': 'tangled_metric'})
else:
result_df = result_df.groupby('dataset').agg(lambda x: np.count_nonzero(x))
print(result_df)
result_df = result_df.reset_index().melt(id_vars=['dataset']).rename(columns={'variable': 'tangled_metric', 'value': 'count'})

result_df['tangled_metric'] = result_df['tangled_metric'].astype(CategoricalDtype(categories=levels, ordered=True))
Expand Down

0 comments on commit c5d8a7f

Please sign in to comment.