Mercurial > repos > bgruening > sklearn_data_preprocess
changeset 2:a26eb4d476ad draft
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 641ac64ded23fbb6fe85d5f13926da12dcce4e76
author | bgruening |
---|---|
date | Tue, 13 Mar 2018 04:56:53 -0400 (2018-03-13) |
parents | 540408b39355 |
children | 1b7b7773c808 |
files | main_macros.xml |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/main_macros.xml Fri Feb 16 14:56:19 2018 -0500 +++ b/main_macros.xml Tue Mar 13 04:56:53 2018 -0400 @@ -2,8 +2,8 @@ <token name="@VERSION@">0.9</token> <token name="@COLUMNS_FUNCTION@"> -def columns(f,c): - data = pandas.read_csv(f, sep='\t', header=None, index_col=None, parse_dates=True, encoding=None, tupleize_cols=False) +def read_columns(f, c, **args): + data = pandas.read_csv(f, **args) cols = c.split (',') cols = map(int, cols) cols = list(map(lambda x: x - 1, cols))