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
657 B
657 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 | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| min_max_scale | function | py | datascience | 1.0.0 | pure | def min_max_scale(data: list) -> list | Escala los valores al rango [0, 1] usando min-max normalization. |
|
false | false | python/functions/datascience/datascience.py |
Ejemplo
min_max_scale([2, 4, 6, 8, 10])
# [0.0, 0.25, 0.5, 0.75, 1.0]
Notas
Si todos los valores son iguales, retorna lista de ceros. No requiere imports externos.