Skip to content

Commit eb9a3b3

Browse files
committed
Bump version to 0.0.72 and update changelog
Added comprehensive DataFrame input handling fixes to prevent ValueError
1 parent 1f5350a commit eb9a3b3

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
Changelog
22
===========
33

4+
0.0.72
5+
------
6+
7+
- Fixed ValueError "truth value of Series is ambiguous" for DataFrame inputs in multiple stats functions:
8+
- sortino: Properly handles Series downside deviation from DataFrame inputs
9+
- outlier_win_ratio: Handles Series positive_mean calculations correctly
10+
- outlier_loss_ratio: Handles Series negative_mean calculations correctly
11+
- risk_return_ratio: Handles Series standard deviation properly
12+
- ulcer_performance_index: Handles Series ulcer index values
13+
- serenity_index: Handles Series std and denominator calculations
14+
- gain_to_pain_ratio: Handles Series downside calculations
15+
- All functions now properly return Series for DataFrame inputs and scalars for Series inputs
16+
417
0.0.71
518
------
619

quantstats/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.0.71"
1+
version = "0.0.72"

0 commit comments

Comments
 (0)