---
name: zip_slices
kind: function
lang: go
domain: datascience
version: "1.0.0"
purity: pure
signature: "func ZipSlices(as, bs []float64) [][2]float64"
description: "Combina dos slices de float64 en un slice de pares [2]float64, truncando al más corto."
tags: [datascience, zip, combine, pair]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: ""
imports: []
params:
  - name: as
    desc: "primer slice de valores (ej: precios)"
  - name: bs
    desc: "segundo slice de valores (ej: volúmenes)"
output: "slice de pares [2]float64 donde cada par es [as[i], bs[i]], longitud = min(len(as), len(bs))"
tested: false
tests: []
test_file_path: ""
file_path: "functions/datascience/zip_slices.go"
---
