Quantcast
Channel: Convertir datos de un archivo txt a una matriz - Stack Overflow en español
Browsing all 2 articles
Browse latest View live

Respuesta de Ariel Montes en Convertir datos de un archivo txt a una matriz

En respuesta a tu pregunta. Una forma de convertir los datos de un txt a una matriz es la siguiente:txt 11 23 452 4 63 6 8txt 2123452460036800Scriptimport numpy as npwith open('test.txt','r') as f:...

View Article



Image may be NSFW.
Clik here to view.

Convertir datos de un archivo txt a una matriz

tengo el siguiente problema tengo un archivo de texto con estos datosxexxxxxxxxxxxxoooxoseooooxoooxxxoxxxoxxxxxoxxxxxxxy necesito transformarlo a una matriz en python.Tengo el siguiente código pero me...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images