Pandas-validation

Latest version: v0.5.0

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

Scan your dependencies

Page 1 of 2

0.5.0

This is a minor release with the following changes:

* The function `validate_datetime()` is deprecated and replaced by the functions
`validate_date()` and `validate_timestamp()`. The new functions validates
values of types [datetime.date](https://docs.python.org/3/library/datetime.htmldatetime.date) and [pandas.Timestamp](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Timestamp.html), respectively.
* Type conversion is no longer carried out by the functions `validate_numeric()`
and `validate_string()`. It will be up to the user to ensure that the data types
are correct before the validation.
* Documentation has been updated with two new quickstart examples.

Released: 2019-06-13

[View commits](https://github.com/jmenglund/pandas-validation/compare/v0.4.0...v0.5.0)

0.4.0

This is a minor release with the following changes:

* Non-NumPy numeric dtypes should now be supported.
* The ValidationWarning is now issued att stack level 2. This makes it possible to
trace the line of code that called the function that raised the warning.

Released: 2019-05-27

[View commits](https://github.com/jmenglund/pandas-validation/compare/v0.3.2...v0.4.0)

0.3.2

This is a patch release that fixes an issue with validating numbers with `min_value=0`
or `max_value=0`.

Released: 2019-02-02

[View commits](https://github.com/jmenglund/pandas-validation/compare/v0.3.1...v0.3.2)

0.3.1

This is a patch release with a few fixes to the documentation.

Released: 2018-10-18

[View commits](https://github.com/jmenglund/pandas-validation/compare/v0.3.0...v0.3.1)

0.3.0

This minor release contains the following changes:

* The validation functions now have a `return_type` argument that gives
the user control over the output. This replaces the `return_values` argument.
* When returning values, the validation functions now filter out all invalid
values.
* A few tests have been added to `test_pandasvalidation.py`. The test coverage
is now complete.
* Documentation is up to date.
* Removed use of the deprecated `pandas.tslib`

Released: 2018-01-03

[View commits](https://github.com/jmenglund/pandas-validation/compare/v0.2.0...v0.3.0)

0.2.0

This minor release contains the following changes:

* Function `not_convertible()` renamed `mask_nonconvertible()`
* Updated text in `README.rst`
* Updated instructions in `release-checklist.rst`
* Small fixes to the documentation

Released: 2017-09-17

[View commits](https://github.com/jmenglund/pandas-validation/compare/v0.1.1...v0.2.0)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.