Skip to content

Commit

Permalink
bug fix for % in metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesir committed Jul 22, 2024
1 parent f52eb15 commit ae9b553
Show file tree
Hide file tree
Showing 3 changed files with 257 additions and 258 deletions.
1 change: 0 additions & 1 deletion quantstats_lumi/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,6 @@ def metrics(
metrics["Avg. Drawdown Days"] = "-"

metrics.columns = [col if "~" not in col else "" for col in metrics.columns]
metrics.columns = [col[:-1] if "%" in col else col for col in metrics.columns]
metrics = metrics.T

if "benchmark" in df:
Expand Down
2 changes: 1 addition & 1 deletion quantstats_lumi/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.3.2"
version = "0.3.3"
Loading

0 comments on commit ae9b553

Please sign in to comment.