Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #3125 > unrolled thread
| Started by | Shawn Brown <03sjbrown@gmail.com> |
|---|---|
| First post | 2019-06-03 00:40 -0400 |
| Last post | 2019-06-03 00:40 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python.announce
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
ANN: Datatest 0.9.6 Released Shawn Brown <03sjbrown@gmail.com> - 2019-06-03 00:40 -0400
| From | Shawn Brown <03sjbrown@gmail.com> |
|---|---|
| Date | 2019-06-03 00:40 -0400 |
| Subject | ANN: Datatest 0.9.6 Released |
| Message-ID | <mailman.89.1559653742.19356.python-announce-list@python.org> |
Datatest version 0.9.6 is now available.
Datatest helps speed up and formalize data-wrangling and data validation
tasks. It repurposes software testing practices for data preparation and
quality assurance projects.
* Docs - https://datatest.readthedocs.io/
* PyPI - https://pypi.org/project/datatest/
* Devel - https://github.com/shawnbrown/datatest
Upgrade an existing installation:
pip install --upgrade datatest
What's New in Datatest 0.9.6:
* Cleaned up the acceptance API to make it both less verbose
and more expressive:
* Consolidated specific-instance and class-based acceptances
into a single interface.
* Added a new accepted.tolerance() method that subsumes the
behavior of accepted.deviation() by supporting Missing and
Extra quantities in addition to Deviation objects.
* Deprecated old methods:
======================= ==================================
Old Syntax New Syntax
======================= ==================================
accepted.specific(...) accepted(...)
accepted.missing() accepted(Missing)
accepted.extra() accepted(Extra)
*NO EQUIVALENT* accepted(CustomDifferenceClass)
accepted.deviation(...) accepted.tolerance(...)
accepted.limit(...) accepted.count(...)
*NO EQUIVALENT* accepted.count(..., scope='group')
======================= ==================================
Other methods--accepted.args(), accepted.keys(), etc.--remain
unchanged.
* Changed validation to generate Deviation objects for a broader
definition of quantitative values (like datetime objects)--not
just for subclasses of numbers.Number.
* Changed handling for pandas.Series objects to treat them as
sequences instead of mappings.
* Added handling for DBAPI2 cursor objects to automatically
unwrap single-value rows.
* Removed acceptance classes from datatest namespace--these were
inadvertently added in a previous version but were never part
of the documented API. They can still be referenced via the
`acceptances` module:
from datatest.acceptances import ...
Back to top | Article view | comp.lang.python.announce
csiph-web