Pint

Latest version: v0.24.4

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

Scan your dependencies

Page 8 of 9

0.3

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

- Support for pandas 1.5, with a significant uplift in capability. Many operations that gave results with object
dtype now give PintArrays. 133
- Fixed a bug which caused the creation of PintArray (and even more so all binary mathematical operations)
to convert input arrays to lists of Quantity, thereby causing a huge slowdown. 80
- Fixed a bug where listlike operands in binary operations were not correctly converted to Quantity arrays. 86
- Fixed pickling of `PintArray` instances. 71
- Fixed a bug where units of a quantity where ignored when creating a PintArray. 104
- Quantity arrays may be used to initialise PintArrays without specifying the dtype. 104
- Fixed a bug where `.astype("string[pyarrow]")` would not create pyarrow-backed arrays. 101
- Fixed bug preventing adding to empty slices of PintArrays 69
- Notebook updated to show plotting 116 9 43
- df.pint.quantify and df.pint.dequantify now allow columns without units. 132
- Tests reorganised 131
- Shortened form of dimensionless unit now in dtype, eg 'pint[]' 151
- Fixed bug preventing PintArrays with offset units being printed. 150

0.2.1

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

- fix error raised while converting from a single unit to one expressed as
the relation between many.
(Issue 29)

0.2

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

- Support for pandas 1.2, which allows DataFrames with PintArrays to be plotted 53 60 61
- Fixed bug which prevented creating a PintArray with offset units like temperature. 48
- Fixed bug which caused Series.min() to throw an exception. 47
- pint-pandas now uses pint's application registry by default 67
- Improved testing
- Minimum Pint version is 0.17
- Minimum Pandas vesrion is 1.2

0.1.3

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

- abbreviated quantity string formating.
- complete Python 2.7 compatibility.
- implemented pickle support for Quantities objects.
- extended NumPy support.
- various bugfixes.

0.1.2

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

- experimenal NumPy support.
- included default unit definitions file.
(Issue 1, thanks fish2000)
- better testing.
- various bugfixes.
- fixed some units definitions.
(Issue 4, thanks craigholm)

0.1.1

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

- better packaging and installation.

Page 8 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.