Releases: hsbc/pyratings
Releases · hsbc/pyratings
v0.6.1
v0.6.0
Added
- Option to choose between three different strategies to translate scores into short-term ratings (#24).
- Functionality to remove prefix '(P)' when cleaning ratings (#27).
- Functions to consolidate ratings and return numerical rating scores (#37):
get_best_scores
get_second_best_scores
get_worst_scores
- Function
consolidate_ratings
: Wrapper function forget_best_ratings
,get_second_best_ratings
, andget_worst_ratings
(#37).
Changed
- BREAKING CHANGE: Automatic column naming (#9).
get_scores_from_ratings()
When input apd.Series
, the name of the output series will now becomeratings.name
prefixed with "rtg_score_".
When input apd.DataFrame
, the column names of the output frame will now becomeratings.columns
prefixed with "rtg_score_".get_warf_from_ratings()
When input a pd.Series, the name of the output series will now becomeratings.name
prefixed with "warf_".
When input a pd.DataFrame, the column names of the output frame will now becomeratings.columns
prefixed with "warf_".
- BREAKING CHANGE: Translations of short-term ratings are now different (#16).
Fixed
- Short-term DBRS rating entries in Ratings.db (#29).
Improved
- Splitting the code base into multiple files in order to increase maintainability (#8).
- Internal checks have been improved (#20).
- Documentation has been updated and will now be created via mkdocs and mkdocstrings.
- Using nox to test the code base against multiple Python versions.
- Make code base flake8 compliant.
- Use pre-commit to ensure good quality before commiting/sending PRs.
- Use python-kacl in order to maintain CHAGELOG.