Data-patterns

Latest version: v0.1.24

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

Scan your dependencies

0.1.20

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

Suppress Pandas slice error is some cases

Deleted logging.basicConfig (to avoid that initial config is overwritten)

0.1.19

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

Bug fixes with expressions including regex

0.1.18

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

variables to miner

You can now add a boolean to the miner. If you give the boolean True to the miner, it will get rid of all the " and ' in the string data. This is needed for some data where name have those characters in their name. This will give errors later on if not removed.



Function to read overzicht


Changed the IF THEN expression so that we can use decimals when numeric


Parameters

1. 'notNaN' (boolean): Only takes not NaN columns

Function changes

1. Convert_to_time: add boolean set_year. If true then only use the years (this is for yearly data), otherwise keep whole date. Set to True standard

2. update_statistics: Remove patterns that contain columns which are not in the data. This is necessary for some insurers so that they do not get errors

0.1.17

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

Parameters

1. 'window' (boolean): Only compares columns in a window of n, so [column-n, column+n].

2. 'disable' (boolean): If you set this to True, it will disable all tqdm progress bars for finding and analyzing patterns.

3. 'expres' (boolean): If you use an expression, it will only directly work with the expression if it is an IF THEN statement. Otherwise it is a quantitative pattern and it will be split up in parts and it uses numpy to find the patterns (this is quicker). However sometimes you want to work with an expression directly, such as the difference between two columns is lower than 5%. If you set expres to True, it will work directly with the expression.



Expression

1. You can use ABS in expressions. This calculates the absolute value. So something like 'ABS({'X'} - {'Y'}) = {'Z'})'



cluster

1. You can now add the column name on which you want to cluster


Function

1. Convert_to_time: merge periodes together by adding suffix to columns (t-1) and (t).

2. convert_columns_to_time: Make the periods into columns so that you have years as columns.


Other

1. Add tqdm progress bars

0.1.11

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

* First release on PyPI.

0.1.0

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

* Development release.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.