Rdt

Latest version: v1.12.0

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

Scan your dependencies

Page 1 of 9

1.12.0

This release adds a new parameter to the `RegexGenerator` called `generation_order`. This parameter lets users change if they want the generated values for the regex to come out in alphanumeric or scrambled order. Additionally, warnings that were disrupting the progress bar are handled.

Bugs Fixed

* Pandas FutureWarnings are disrupting tqdm progress bars - Issue [793](https://github.com/sdv-dev/RDT/issues/793) by frances-h

New Features

* In `RegexGenerator`, provide the ability to scramble the keys - Issue [800](https://github.com/sdv-dev/RDT/issues/800) by amontanez24

Maintenance

* Cleanup automated PR workflows - Issue [803](https://github.com/sdv-dev/RDT/issues/803) by R-Palazzo

1.11.1

This release fixes a small bug that caused problems with the latest version of Pandas.

Bugs Fixed

* Update pandas version and fix _add_columns_to_data - PR [796](https://github.com/sdv-dev/RDT/pull/796) by fealho

1.11.0

This release adds support for Python 3.12! It also fixes a bug that kept certain functions from being used on the `AnonymizedFaker` when locales were provided.

Maintenance

* Support Python 3.12 - Issue [744](https://github.com/sdv-dev/RDT/issues/744) by fealho
* Add dependency checker - Issue [777](https://github.com/sdv-dev/RDT/issues/777) by lajohn4747
* Add bandit workflow - Issue [781](https://github.com/sdv-dev/RDT/issues/781) by R-Palazzo

Bugs Fixed

* Providing locales to AnonymizedFaker with a function that uses the BaseProvider crashes - Issue [774](https://github.com/sdv-dev/RDT/issues/774) by frances-h
* Fix minimum version workflow when pointing to github branch - Issue [783](https://github.com/sdv-dev/RDT/issues/783) by R-Palazzo

New Features

* Move out sdtype validations from multi-column transformers - Issue [778](https://github.com/sdv-dev/RDT/issues/778) by R-Palazzo

1.10.1

This release fixes a bug with loading saved `AnonymizedFaker` transformers from previous versions of RDT.

Bugs Fixed

* Add `enforce_uniqueness` attribute to `AnonymizedFaker` - PR [771](https://github.com/sdv-dev/RDT/pull/771) by fealho
* Fix backwards compatability for `cardinality_rule`- PR [772](https://github.com/sdv-dev/RDT/pull/772) by frances-h

1.10.0

The `AnonymizedFaker` now supports more options for the cardinality of the generated data. Previously you could make make the generated data be all unique, or not take uniqueness into consideration. Now you can use the `cardinality_rule` parameter to match the cardinality of the original data.

New Features

* Allow `AnonymizedFaker` to learn cardinality from the real data - Issue [756](https://github.com/sdv-dev/RDT/issues/756) by fealho

Deprecations

The `enforce_uniqueness` parameter of the `AnonymizedFaker` is deprecated in favor of the `cardinality_rule` parameter.

Maintenance

* Transition from using setup.py to pyproject.toml to specify project metadata - Issue [763](https://github.com/sdv-dev/RDT/issues/763) by R-Palazzo
* Remove bumpversion and use bump-my-version - Issue [764](https://github.com/sdv-dev/RDT/issues/764) by R-Palazzo
* Add build to dev requirements - Issue [768](https://github.com/sdv-dev/RDT/issues/768) by amontanez24

1.9.2

This release makes a couple improvements to the `RegexGenerator`. Error messaging is improved and it is now capable of generating an unlimited amount of rows even when the `enforce_uniqueness` flag is True. It does this by adding suffixes if the max amount of combinations for the provided regex is met.

Additionally, this release resolves a few bugs. The `OneHotEncoder` should no longer crash on the `categorical` dtype and the `UniformEncoder` was improved to support more dtypes.

Bugs Fixed

* Categorical reverse transform may crash with `ValueError` for certain dtypes (int64) - Issue [747](https://github.com/sdv-dev/RDT/issues/747) by R-Palazzo
* RegexGenerator gives a confusing message: of possibilities are shown as an imaginary number - Issue [748](https://github.com/sdv-dev/RDT/issues/748) by R-Palazzo
* OneHotEncoder doesn't support dtype `'category'` - Issue [751](https://github.com/sdv-dev/RDT/issues/751) by fealho

New Features

* RegexGenerator should create unlimited regexes, even if unique enforcement is on - Issue [749](https://github.com/sdv-dev/RDT/issues/749) by fealho
* Add a _update_multi_column_transformer method - Issue [757](https://github.com/sdv-dev/RDT/issues/757) by R-Palazzo

Internal

* Move the _learn_rounding_digits of the FloatFormatter into a helper - Issue [750](https://github.com/sdv-dev/RDT/issues/750) by fealho

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.