Twaml

Latest version: v0.10.0

Safety actively analyzes 613908 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.10.0

- new function `selection_masks` which takes in a selection dictionary and returns a dictionary with key selection name and value numpy boolean array
- rename `apply_selections` to `selected_datasets` (still takes a selection dictionary)
- have `twaml-root2pytables` use the `selection_masks` method (uses less memory)

0.9.2

- Add new `to_hdf_kw` argument to `dataset.to_pytables`, for sending more keyword arguments to the `pandas.DataFrame.to_hdf` function.
- some formatting
- give `twaml-root2pytables` command line app option to use the `table` format and LZ4 compressions.

0.9.1

Tag release for PyPI deployment (0.9.0 was broken)

0.9.0

- making the column removal API more organized; options are now:
- `rm_meta_columns`
- `rm_region_columns`
- `rm_chargeflavor_columns`
- `rm_weight_columns`
- adding a "master" function for common use (`aggressively_strip`)
- some docs updates

0.8.0

Major API update:

- `from_root`, `from_pytables`, and `from_h5` are no longer staticmethods in the `dataset` class. They are now their own standalone functions in the `twaml.data` module.

Minor API update:

- `dataset.label_asarray()` and `dataset.auxlabel_asarray()` are now functions, not properties.

0.7.2

Fixes name bug in frequent selector in CL app

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.