Pint-pandas

Latest version: v0.5

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

Scan your dependencies

0.6

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

- Nothing changed yet.

0.5

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

- ReadTheDocs Documentation created.
- Support for Pandas version 2.1.0. 196
- Support for dtype-preserving `PintArray.map` for both Pandas 2.0.2 and Pandas 2.1. 196
- Support for <NA> values in columns with integer magnitudes
- Support for magnitudes of any type, such as complex128 or tuples 146
- Support for pandas 2.0, allowing `.cumsum, .cummax, .cummin` methods for `Series` and `DataFrame`. 186
- Minimum Pint version is 0.21
- Minimum Pandas vesrion is 2.0
- Support for unit registries with `force_ndarray_like = True`. 165
- A DataFrame/Series.pint.convert_object_dtype() function has been added to create PintArrays from Series of quantities.

0.4

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

- Support for <NA> values in columns with integer magnitudes
- Support for magnitudes of any type, such as complex128 or tuples 146
- Support for Pint 0.21 168, 179
- Cast to `numpy.ndarray` in `PintArray._reduce` if needed to use `nanops` functions
- Minimum Pint version is 0.21
- Minimum Pandas vesrion is 1.6

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

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

- 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

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

- first public release.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.