Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Basic matrix class

Can store heterogenous data and contains functionality for handling named columns.
Also supports comparison and iteration and can be converted to other formats

src/p/e/PEATDB-2.3/PEATSA/Core/Classify.py   PEATDB(Download)
 
        #Create the classifier data set
        matrix = Core.Matrix.Matrix(rows=rows, headers=features)
        stream = open('.temp.csv', 'w+')
        stream.write(matrix.csvRepresentation())

src/p/e/PEATDB-2.3/PEATDB/plugins/PCA.py   PEATDB(Download)
 
	#Write out new basis
	basis = Core.Matrix.Matrix(rows=list(z))
	basis.addColumn(r.column(0), 0)
	#basis.addColumn(r.column(1), 1)