-
-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathreshape.html
More file actions
88 lines (88 loc) · 4.25 KB
/
reshape.html
File metadata and controls
88 lines (88 loc) · 4.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<body>
<div class="vp-rs-df-box">
<div>
<label for="vp_rsType" class="vp-orange-text w100">Reshape Type</label>
<select id="vp_rsType">
<option value="pivot" selected="">pivot</option>
<option value="pivot_table" selected="">pivot table</option>
<option value="melt">melt</option>
</select>
</div>
<hr style="margin: 5px 0;">
<div>
<label for="vp_rsDataframe" class="vp-orange-text w100">DataFrame</label>
<select id="vp_rsDataframe">
</select>
<!-- LAB: img to url -->
<div class="vp-rs-df-refresh" title="Refresh dataframe list">
<!-- <img src="${vp_base}/img/refresh.svg"> -->
</div>
</div>
<div class="vp-rs-type-box pivot">
<div>
<label for="vp_rsIndex" class="w100">Index</label>
<input type="text" id="vp_rsIndex" placeholder="Index key" readonly="">
</div>
<div>
<label for="vp_rsColumns" class="vp-orange-text w100">Columns</label>
<input type="text" id="vp_rsColumns" placeholder="Columns key" readonly="" required="true">
</div>
<div>
<label for="vp_rsValues" class="w100">Values</label>
<input type="text" id="vp_rsValues" placeholder="Values key" readonly="">
</div>
</div>
<div class="vp-rs-type-box pivot_table">
<div>
<label for="vp_rsIndex" class="w100">Index</label>
<input type="text" id="vp_rsIndex" placeholder="Index key" readonly="">
</div>
<div>
<label for="vp_rsColumns" class="w100">Columns</label>
<input type="text" id="vp_rsColumns" placeholder="Columns key" readonly="">
</div>
<div>
<label for="vp_rsValues" class="w100">Values</label>
<input type="text" id="vp_rsValues" placeholder="Values key" readonly="">
</div>
<div>
<label for="vp_rsAggfunc" class="w100" title="aggfunc">Aggregate</label>
<input type="text" id="vp_rsAggfunc" placeholder="Aggregate functions" readonly="">
</div>
</div>
<div class="vp-rs-type-box melt" style="display:none;">
<div>
<label for="vp_rsIdVars" class="w100">Id</label>
<input type="text" id="vp_rsIdVars" placeholder="Id vars" readonly="">
</div>
<div>
<label for="vp_rsValueVars" class="w100">Value</label>
<input type="text" id="vp_rsValueVars" placeholder="Value vars" readonly="">
</div>
<div>
<label for="vp_rsVarName" class="w100">Var name</label>
<input type="text" id="vp_rsVarName" class="vp-state" data-key="melt.varName" placeholder="Var name">
<label><input type="checkbox" id="varNameText" class="vp-state" data-key="melt.varNameText" checked/><span>Text</span></label>
</div>
<div>
<label for="vp_rsValueName" class="w100">Value name</label>
<input type="text" id="vp_rsValueName" class="vp-state" data-key="melt.valueName" placeholder="Value name">
<label><input type="checkbox" id="valueNameText" class="vp-state" data-key="melt.valueNameText" checked/><span>Text</span></label>
</div>
</div>
<hr style="margin: 5px 0;">
<div>
<label for="vp_rsUserOption" class="w100">User option</label>
<input type="text" id="vp_rsUserOption" placeholder="key=value, ...">
</div>
<div>
<label for="vp_rsAllocateTo" class="w100">Allocate to</label>
<input type="text" id="vp_rsAllocateTo" placeholder="New variable name">
<label><input type="checkbox" id="vp_rsResetIndex"><span>Reset Index</span></label>
<select id="vp_rsWithoutColumn" class="vp-select" style="width: 130px;" disabled>
<option value="True" selected>Without column</option>
<option value="">With column</option>
</select>
</div>
</div>
</body>