Preparar datos para clusterizar