Skip to content

Commit

Permalink
fixed grapher.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sgskung committed Apr 11, 2023
1 parent b781953 commit 72356c2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/grapher.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,8 @@ def compare_scores(lst):
# RETURNS: The bar chart where the highlighted bar is the highest score.
cscores = lst

report = pd.DataFrame()
report = report.append(pd.DataFrame(
[cscores], columns=['Baseline', 'LR', 'SVC', 'DT', 'NB']),
ignore_index=True)
report = pd.DataFrame(
[cscores], columns=['Baseline', 'LR', 'SVC', 'DT', 'NB'])

report.index = ['Score']
report = report.T.reset_index()
Expand Down

0 comments on commit 72356c2

Please sign in to comment.