https://github.com/lacapitainerie/jafar
Standard Deviation reducer
https://github.com/lacapitainerie/jafar
python standard-deviation statistics
Last synced: 11 months ago
JSON representation
Standard Deviation reducer
- Host: GitHub
- URL: https://github.com/lacapitainerie/jafar
- Owner: LaCapitainerie
- Created: 2024-01-25T21:59:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-22T14:09:45.000Z (almost 2 years ago)
- Last Synced: 2024-08-22T15:58:06.607Z (almost 2 years ago)
- Topics: python, standard-deviation, statistics
- Language: Python
- Homepage:
- Size: 6.77 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jafar
A python module that will reduce the Standard Deviation of a dataset to approach `lim x -> +inf : f(x)`
# Définition
```py
def predire(csv:str, col:list[str], *, prediction:list[int]) -> int
```
# Usage
To use it , import the module Jafar and it function *lecture_csv* and *result*.
```py
from jafar import predire;
# List of number you want it to find (optional)
prediction:list[int] = [3]
colonnes:list[str] = ["numero_chance"]
csvFile:str = "loto_201911.csv"
# Parsing the DataFrame and calculate the lower Standard Deviation
predire(csv=csvFile, col=colonnes, prediction=prediction)
>>> [(X, 0.xxx), (Y, 0.yyy), (Z, 0.zzz), ...]
```
# DocString
```py
predire(csv:str, col:list[str], *, prediction:list[int]) -> int
```
* `csv` - Path to the csv file were the data are
* `col` - List of column you want to use in the deviation
* `prediction` **optional** - Is the list of the value you expect to appear, the console will overline them in green