I\'ve read a csv (which is \\t seperated) into a Dataframe, which is now needed to be in a numpy array format for clustering without changing type
Why don't you just import the 'csv' as a numpy array?
import numpy as np def read_file( fname): return np.genfromtxt( fname, delimiter="/t", comments="%", unpack=True)