95959f713c
Agrega funciones Python reutilizables organizadas por dominio: - core: composicion funcional (pipe, compose, map, filter, reduce, etc.) - cybersecurity: analisis de amenazas y puertos - datascience: estadisticas y deteccion de outliers - finance: indicadores tecnicos y analisis financiero
673 B
673 B
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, tested, tests, test_file_path, file_path
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | tested | tests | test_file_path | file_path | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| standardize | function | py | datascience | 1.0.0 | pure | def standardize(data: list) -> list | Estandarizacion Z-score: transforma los datos a media=0 y desviacion=1. |
|
false |
|
false | python/functions/datascience/datascience.py |
Ejemplo
standardize([10, 20, 30])
# [-1.2247..., 0.0, 1.2247...]
Notas
Si la desviacion estandar es cero, retorna lista de ceros. Usa desviacion poblacional (N, no N-1).