I have 256 x 8 text file, i want to fetch it into np array(256,8), with int cast
import numpy as np
import cv2.cv2 as cv2
import math
import matplotlib.pyplot as plt
np.loadtxt(fname='data.txt')
then i get this error: could not convert string to float: '200.35,159.32,200.35,113.74,245.48,113.74,245.48,159.32'

loadtxtiswhite space, not comma.