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

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Sets new headers for all the columns.

Parameters
        headers - A list or tuple containing the new values.
                The first value in this variable if set as the header for the first column and so on.
                
Exceptions
        Raises an IndexError if headers does not have the correct number of elements.
        It must have the same number of elements as rows

src/p/e/PEATDB-2.3/PEATDB/plugins/PCA.py   PEATDB(Download)
	for i in range(m.numberOfColumns()):
            headers.append('Ev%d' % i)
	ev.setColumnHeaders(headers)
	P.writeToFile(ev, 'Eigenvectors.csv')