Swifter

Latest version: v1.4.0

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

Scan your dependencies

Page 4 of 9

0.305

(1) Remove Numba hard dependency, but still handle TypingErrors when numba is installed
(2) Only call tqdm's `progress_apply` on transformations (e.g. Resampler, Rolling) when tqdm has an implementation for that object.

0.304

Swifter performance consistency improved in two ways:


(1) The validation check of the vectorized form of swifter was always failing, because of assumption of dataframe type, when usually a vectorized function form results in array type.


(2) When using a dataframe with duplicated indices, swifter was silently failing to leverage dask. Now swifter raises a warning when the dataframe has duplicated indices, with a recommendation to call `df.reset_index(drop=True)`.

0.301

Following pandas release v1.0.0, removing deprecated keyword args "broadcast" and "reduce"

0.300

Added new `applymap` method for pandas dataframes. `df.swifter.applymap(...)`

0.297

Fixed issue causing errors when using swifter on empty dataframes. Now swifter will perform a pandas apply on empty dataframes.

0.296

Added support for resample objects in syntax that refects pandas. `df.swifter.resample(...).apply(...)`

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.