Polars-ds

Latest version: v0.8.2

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

Scan your dependencies

Page 5 of 6

0.3.1

What's Changed

**Performance Improvements: (tested locally)**
1. Faster KS stats (10%)
2. Slightly improve levenshtein and snowball stemming perf. (5-10%)
3. Faster query_radius_ptwise, faster query_nb_cnt, and other methods dependent on them. (5-15%)

**Fixes/Changes:**
1. Snowball now doesn't have parallel option. Stopwords and numbers will be stemmed to the empty string.
2. Hamming now should return Null when two strings cannot be compared.
3. Refactored existing graph functionalities

**Other:**
1. Restarted Python 3.8 support
2. Parallel execution will now respect Polars's context and thread pool size. If Polar's context is already parallel, they won't be parallel even when specified parallel = True. This forces user to only use parallel = True when they know the operation is expensive and they wish to only run this expression alone. In some cases, this improves parallel performance, because of less thread contention than previous parallel implementation. In other cases, this slightly slows things down, because parallel jobs are batched, and some thread will always have less work if batch sizes are not the same.


**Full Changelog**: https://github.com/abstractqqq/polars_ds_extension/compare/v0.3.0...v0.3.1

0.3.0

What's Changed

Highlights:

1. Simple graph queries (More will be added).
2. Enhanced KNN related queries.
3. More stiatistics, e.g. weighted mean, var. More special functions, expit, logit, gamma. More options for rfft.
4. Internal organization, tests, examples, etc.


**Full Changelog**: https://github.com/abstractqqq/polars_ds_extension/compare/v0.2.3...v0.3.0

0.2.3

What's Changed
* housekeeping, minor api changes, docs, etc. by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/48
* Population Stability Index by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/51
* KNN now has the option to return distance by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/53
* Statsmodel-style OLS report, option to return residue and coeff by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/52
* Weight of Evidence and Information Value by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/54


**Full Changelog**: https://github.com/abstractqqq/polars_ds_extension/compare/v0.2.2...v0.2.3

0.2.2

**💥💥Breaking Changes💥💥**
1. levenshtein_within is renamed to levenshtein_filter.
2. You now call metrics using .metric instead of the general .num namespace.
python
pl.col("actual").metric.binary_metrics_combo(pl.col("predicted")).alias("combo")


What's Changed
* added more basic metrics by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/43
* LSTSQ now works with rolling by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/45
* Initial work on nearest neighbors for words, added hamming_filter, updated polars version by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/46




**Full Changelog**: https://github.com/abstractqqq/polars_ds_extension/compare/v0.2.1...v0.2.2

0.2.1

Hot Fix
* fixed group by problem by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/42


**Full Changelog**: https://github.com/abstractqqq/polars_ds_extension/compare/v0.2.0...v0.2.1

0.2.0

💥Breaking changes💥:

Namespace renaming:
str_ext -> str2
stats_ext -> stats
num_ext -> num

New namespace:
c, for complex numbers

What's Changed
* added some str inflections, LCS based freq from rapidfuzz by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/32
* Chi2 by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/34
* added lempel ziv by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/35
* Kdtree by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/36
* improved sample entropy by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/37
* Improved docs
* Debug chi2 by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/40
* Various adhoc by abstractqqq in https://github.com/abstractqqq/polars_ds_extension/pull/41
* Methods to work with complex numbers


**Full Changelog**: https://github.com/abstractqqq/polars_ds_extension/compare/v0.1.4...v0.2.0

Page 5 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.