Agate

Latest version: v1.10.2

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

Scan your dependencies

Page 3 of 7

1.5.5

-------------------------

* Added a "full outer join" example to the SQL section of the cookbook. (658)
* Warnings are now more explicit when column names are missing. (652)
* :meth:`.Date.cast` will no longer parse strings like :code:`05_leslie3d_base` as dates. (653)
* :meth:`.Text.cast` will no longer strip leading or trailing whitespace. (654)
* Fixed :code:`'NoneType' object has no attribute 'groupdict'` error in :meth:`.TimeDelta.cast`. (656)

1.5.4

-------------------------

* Cleaned up handling of warnings in tests.
* Blank column names are not treated as unspecified (letter names will be generated).

1.5.3

-------------------------

This is a minor release that adds one feature: sequential joins (by row number). It also fixes several small bugs blocking a downstream release of csvkit.

* Fixed empty :class:`.Table` column names would be intialized as list instead of tuple.
* :meth:`.Table.join` can now join by row numbers—a sequential join.
* :meth:`.Table.join` now supports full outer joins via the ``full_outer`` keyword.
* :meth:`.Table.join` can now accept column indicies instead of column names.
* :meth:`.Table.from_csv` now buffers input files to prevent issues with using STDIN as an input.

1.5.2

-------------------------

* Improved handling of non-ascii encoded CSV files under Python 2.

1.5.1

-------------------------

This is a minor release fixing several small bugs that were blocking a downstream release of csvkit.

* Documented differing behavior of :class:`.MaxLength` under Python 2. (649)
* agate is now tested against Python 3.6. (650)
* Fix bug when :class:`.MaxLength` was called on an all-null column.
* Update extensions documentation to match new API. (645)
* Fix bug in :class:`.Change` and :class:`.PercentChange` where ``0`` values could cause ``None`` to be returned incorrectly.

1.5.0

-------------------------

This release adds SVG charting via the `leather <https://leather.rtfd.io>`_ charting library. Charts methods have been added for both :class:`.Table` and :class:`.TableSet`. (The latter create lattice plots.) See the revised tutorial and new cookbook entries for examples. Leather is still an early library. Please `report any bugs <https://github.com/wireservice/agate/issues>`_.

Also in this release are a :class:`.Slugify` computation and a variety of small fixes and improvements.

The complete list of changes is as follows:

* Remove support for monkey-patching of extensions. (594)
* :class:`.TableSet` methods which proxy :class:`.Table` methods now appear in the API docs. (640)
* :class:`.Any` and :class:`.All` aggregations no longer behave differently for boolean data. (636)
* :class:`.Any` and :class:`.All` aggregations now accept a single value as a test argument, in addition to a function.
* :class:`.Any` and :class:`.All` aggregations now require a test argument.
* Tables rendered by :meth:`.Table.print_table` are now GitHub Flavored Markdown (GFM) compatible. (626)
* The agate tutorial has been converted to a Jupyter Notebook.
* :class:`.Table` now supports ``len`` as a proxy for ``len(table.rows)``.
* Simple SVG charting is now integrated via `leather <https://leather.rtfd.io>`_.
* Added :class:`.First` computation. (634)
* :meth:`.Table.print_table` now has a `max_precision` argument to limit Number precision. (544)
* Slug computation now accepts an array of column names to merge. (617)
* Cookbook: standardize column values with :class:`.Slugify` computation. (613)
* Cookbook: slugify/standardize row and column names. (612)
* Fixed condition that prevents integer row names to allow bools in :meth:`.Table.__init__`. (627)
* :class:`.PercentChange` is now null-safe, returns None for null values. (623)
* :class:`.Table` can now be iterated, yielding :class:`Row` instances. (Previously it was necessarily to iterate :code:`table.rows`.)

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.