Releases: lycosystem/lydata
0.2.5
0.2.4
What's New
Just some improvements to the cos and the switch to loguru for logging. No functionality should have been altered.
📚 Documentation
- Add
__repr__& explanation toC - Mention private attribute
_column_map - Mention
executemethod ofQobjects - Fix unfinished sentence in utils
Change
- In
__repr__, add parentheses around combination ofAndQandOrQ. - Switch to loguru for logging
0.2.3
What's New
🚀 Features
- Add
centralto short name columns
🐛 Bug Fixes
&and|withNonereturn originalQ. Previously,Q(...) | Nonewould return a query that evaluated toTrueeverywhere.
📚 Documentation
- List defined operators on
Q(&,|,~,==) in the docstring ofCombineQMixin.
🧪 Testing
- ensure that
&and|withNonereturn originalQ.
0.2.2
What's New
Another bug fix: Previously, sub- and superlevel involvement was only computed for columns not already present in the table. Now, it is by default computed and correctly replaces unknown values.
🚀 Features
- (utils) Add better update func for pandas
🐛 Bug Fixes
- Order of sub-/superlevel inference
- Don't ignore present sub-/superlvl cols
0.2.1
What's New
This release fixes a bug where completely unobserved LNLs would be reported as healthy when using the ly.combine() method. Also, This method is now roughly 20x faster than before 🚀
🐛 Bug Fixes
- If an LNL of a patient was unobserved (i.e., all diagnoses
None), then the methodly.combine()returnsNonefor that patient's LNL. Fixes #13
🧪 Testing
- Change the doctest of
ly.combine()to check whether #13 was fixed.
0.2.0
What's New
This is a clean-up update. Some stuff I thought might be useful turned out to be unnecessary, while other things got better names. Two small features have also made it.
🚀 Features
- Can now combine
QwithNoneto yieldQagain. - Add
containsoperator toC,Qobjects. This calls pandas'str.containsmethod.
🧪 Testing
- Fix wrong name in doctests
Change
- [breaking] Add, rename, delete several methods:
LyDatasetConfigis now justLyDataset- the
pathproperty is nowpath_on_disk - the
get_url()method has been removed - the
get_description()method has been removed - added
get_content_file()method to fetch and store remove content load()was renamed toget_dataframe()- the
repoargument was changed torepo_name
- (utils) [breaking] Rename
enhancefunc toinfer_and_combine_levels.
Remove
- [breaking] Two unused funcs for markdown processing were removed
- (load) [breaking] Drop
join_datasets, since it's not needed. All it did was runpd.concat(...).
0.1.2
0.1.1
0.1.0
What's New
With this release, we make the switch from rapidly evolving 0.0.X versions to something that changes a little more slowly. However, we still consider the library experimental and breaking changes may still occur frequently.
🚀 Features
- (utils) Add often needed
enhancefunction to complete sub-/superlevel involvement and infer maximum likelihood status.
🐛 Bug Fixes
- Avoid
KeyErrorininfer_superlevels
⚙️ Miscellaneous Tasks
- Add link to release 0.0.4
Change
infer_su(b|per)levelsskips inferring involvement of sub-/super LNLs that are already present- (load) Rename
skip_disktouse_github - (query) Rename
in_toisinforCobject
0.0.4
What's New
🚀 Features
- [breaking] Make several helper functions private (e.g.,
_max_likelihood()) - (utils) Add more shortname columns, like
surgeryfor("patient", "#", "neck_dissection") - (load) Allow search for datasets at different locations on disk
- (query) Add
Cobject for easierQcreation - (query) Add
in_toCobject - (validate) Add
transform_to_lyproxfunction
🐛 Bug Fixes
- (load) Resolve circular import of
_repo
📚 Documentation
- Add intersphinx mapping to pandera
- Expand module docstrings
- Update
README.mdwith library examples
🧪 Testing
- Fix failure due to changing order of items in set
Change
- (validate) Add args to renamed validation
- Import useful stuff as top-level
- Make
main()funcs private
Remove
- (load) [breaking]
load_dataset()not needed, one can just usenext(load_datasets())