Mercurial > repos > jjohnson > pandas_pivot_table
comparison pandas_pivot_table.xml @ 4:eaf2444a2a50 draft default tip
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/pandas_pivot_table/ commit de16c12e9e27d41d7c7624d7574c51b5bb8edff1-dirty"
author | jjohnson |
---|---|
date | Fri, 18 Dec 2020 19:35:57 +0000 |
parents | 4b65133e0722 |
children |
comparison
equal
deleted
inserted
replaced
3:4b65133e0722 | 4:eaf2444a2a50 |
---|---|
5 <token name="@AGGFUNC@">'(min|max|sum|size|count|mean|std|var|prod|all|any)'</token> | 5 <token name="@AGGFUNC@">'(min|max|sum|size|count|mean|std|var|prod|all|any)'</token> |
6 <token name="@AGGFUNCS@">(@AGGFUNC@|[[]\s*@AGGFUNC@(,\s*@AGGFUNC@)*])</token> | 6 <token name="@AGGFUNCS@">(@AGGFUNC@|[[]\s*@AGGFUNC@(,\s*@AGGFUNC@)*])</token> |
7 <token name="@AGGITEM@">'\S+'\s*:\s*@AGGFUNCS@</token> | 7 <token name="@AGGITEM@">'\S+'\s*:\s*@AGGFUNCS@</token> |
8 <token name="@AGGDICT@">{@AGGITEM@(,\s*@AGGITEM@)*}</token> | 8 <token name="@AGGDICT@">{@AGGITEM@(,\s*@AGGITEM@)*}</token> |
9 <token name="@AGGF@">(@AGGFUNCS@|@AGGDICT@)</token> | 9 <token name="@AGGF@">(@AGGFUNCS@|@AGGDICT@)</token> |
10 <token name="@COL_HELP@">Name of column or 1-based oridinal position of column</token> | |
10 </macros> | 11 </macros> |
11 <requirements> | 12 <requirements> |
12 <requirement type="package" version="@VERSION@">pandas</requirement> | 13 <requirement type="package" version="@VERSION@">pandas</requirement> |
13 </requirements> | 14 </requirements> |
14 <command detect_errors="exit_code"><![CDATA[ | 15 <command detect_errors="exit_code"><![CDATA[ |
54 </param> | 55 </param> |
55 </when> | 56 </when> |
56 </conditional> | 57 </conditional> |
57 <param name="skiprows" type="integer" value="0" min="0" label="Skip table rows"/> | 58 <param name="skiprows" type="integer" value="0" min="0" label="Skip table rows"/> |
58 <param name="pvt_index" type="text" value="" label="Pivot table index columns"> | 59 <param name="pvt_index" type="text" value="" label="Pivot table index columns"> |
60 <help>@COL_HELP@</help> | |
59 <validator type="regex" message="Column names separated by commas">^\S+(,\S+)*$</validator> | 61 <validator type="regex" message="Column names separated by commas">^\S+(,\S+)*$</validator> |
60 </param> | 62 </param> |
61 <param name="pvt_columns" type="text" value="" label="Pivot table columns to split into output columns"> | 63 <param name="pvt_columns" type="text" value="" label="Pivot table columns to split into output columns"> |
64 <help>@COL_HELP@</help> | |
62 <validator type="regex" message="Column names separated by commas">^\S+(,\S+)*$</validator> | 65 <validator type="regex" message="Column names separated by commas">^\S+(,\S+)*$</validator> |
63 </param> | 66 </param> |
64 <param name="pvt_values" type="text" value="" label="Pivot table value columns"> | 67 <param name="pvt_values" type="text" value="" label="Pivot table value columns"> |
68 <help>@COL_HELP@</help> | |
65 <validator type="regex" message="Column names separated by commas">^\S+(,\S+)*$</validator> | 69 <validator type="regex" message="Column names separated by commas">^\S+(,\S+)*$</validator> |
66 </param> | 70 </param> |
67 <param name="aggfunc" type="text" value="" label="Pivot table aggregate function"> | 71 <param name="aggfunc" type="text" value="" label="Pivot table aggregate function"> |
68 <help><![CDATA[ | 72 <help><![CDATA[ |
69 <ul> | 73 <ul> |
70 <li>Available Number Functions: @AGGFUNC@</li> | 74 <li>Available Number Functions: @AGGFUNC@</li> |
71 <li>Specify functions as (remember the single quotes):</li> | 75 <li>Specify functions as:</li> |
72 <ul> | 76 <ul> |
73 <li> - A single function applied to each <i>value</i> column: <b>'min'</b></li> | 77 <li> - A single function applied to each <i>value</i> column: <b>'min'</b></li> |
74 <li> - An array of functions applied to each <i>value</i> column: <b>['min', 'max', 'mean', 'std']</b></li> | 78 <li> - An array of functions applied to each <i>value</i> column: <b>['min', 'max', 'mean', 'std']</b></li> |
75 <li> - A dictionary of <i>value column : function(s)</i>: <b>{'A' : 'sum', 'B' : ['min', 'max']}</b></li> | 79 <li> - A dictionary of <i>value column : function(s)</i>: <b>{'A' : 'sum', 'B' : ['min', 'max']}</b></li> |
76 </ul> | 80 </ul> |
81 <li><i>(remember the single quotes)</i></li> | |
77 </ul> | 82 </ul> |
78 ]]></help> | 83 ]]></help> |
79 <validator type="regex" message="Do not forget the single quotes">@AGGF@</validator> | 84 <validator type="regex" message="Do not forget the single quotes">@AGGF@</validator> |
80 <sanitizer> | 85 <sanitizer> |
81 <valid initial="string.printable"> | 86 <valid initial="string.printable"> |