Skip to content

Commit 79d38f1

Browse files
authored
Merge pull request #239 from minjk-bl/devops
Devops for 2.4.8
2 parents 8fb83cf + cbc5c33 commit 79d38f1

33 files changed

+923
-232
lines changed

visualpython/css/m_ml/gridSearch.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
}
4141
.vp-param-set-add {
4242
cursor: pointer;
43+
margin-bottom: 5px;
4344
}
4445
.vp-param-item > label {
4546
align-self: center;

visualpython/css/m_ml/pipeline.css

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
.vp-pp-right-box {
1717
display: grid;
18-
grid-template-rows: 35px 10px calc(100% - 45px);
18+
grid-template-rows: 35px 10px calc(100% - 80px) 35px;
1919
padding-left: 5px;
2020
overflow: auto;
2121
}
@@ -45,7 +45,13 @@
4545
position: absolute;
4646
transition: all 0.5s ease-in-out;
4747
}
48-
.vp-pp-item:not(:last-child):before {
48+
.vp-pp-item:last-child:before,
49+
.vp-pp-item:last-child:after,
50+
.vp-pp-item.vp-last-visible:before,
51+
.vp-pp-item.vp-last-visible:after {
52+
display: none;
53+
}
54+
.vp-pp-item:before {
4955
border: 0.25px solid var(--vp-gray-color);
5056
border-width: 0 4px 4px 0;
5157
display: inline-block;
@@ -55,7 +61,7 @@
5561
top: 47px;
5662
left: 100px;
5763
}
58-
.vp-pp-item:not(:last-child):after {
64+
.vp-pp-item:after {
5965
border: 0.25px solid var(--vp-gray-color);
6066
border-width: 0 4px 0 0;
6167
height: 15px;
@@ -129,4 +135,48 @@
129135
}
130136
.vp-pp-step-content:empty::after {
131137
content: 'Select the template and Follow the pipeline to generate simple ML code.'
138+
}
139+
.vp-pp-step-footer {
140+
border-top: 0.25px solid var(--vp-border-gray-color);
141+
width: 100%;
142+
height: 35px;
143+
}
144+
.vp-pp-step-move-btn {
145+
width: 70px;
146+
height: 30px;
147+
background-color: var(--vp-background-color);
148+
border: 0.25px solid var(--vp-border-gray-color);
149+
box-sizing: border-box;
150+
box-shadow: 0.5px 0.5px 0.5px rgb(0 0 0 / 10%);
151+
border-radius: 3px;
152+
line-height: 30px;
153+
vertical-align: middle;
154+
font-family: 'AppleSDGothicNeo';
155+
font-size: 13px;
156+
text-align: center;
157+
color: var(--vp-font-primary);
158+
cursor: pointer;
159+
-webkit-touch-callout: none;
160+
-webkit-user-select: none;
161+
-khtml-user-select: none;
162+
-moz-user-select: none;
163+
-ms-user-select: none;
164+
user-select: none;
165+
166+
display: inline-block;
167+
position: absolute;
168+
bottom: 10px;
169+
}
170+
.vp-pp-step-move-btn:hover {
171+
background-color: var(--vp-light-gray-color);
172+
}
173+
.vp-pp-step-move-btn.disabled {
174+
background-color: var(--vp-gray-color);
175+
cursor: not-allowed;
176+
}
177+
.vp-pp-step-prev {
178+
left: 270px;
179+
}
180+
.vp-pp-step-next{
181+
right: 15px;
132182
}

visualpython/data/m_library/pandasLibrary.js

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1916,7 +1916,10 @@ define([
19161916
{
19171917
"name": "by",
19181918
"label": "Sort By",
1919-
"usePair": true
1919+
"usePair": true,
1920+
"component": [
1921+
"col_multi"
1922+
]
19201923
},
19211924
{
19221925
"name": "axis",
@@ -2437,7 +2440,7 @@ define([
24372440
"name": "get data counts",
24382441
"library": "pandas",
24392442
"description": "get data value counts",
2440-
"code": "${o0} = ${i0}.value_counts()",
2443+
"code": "${o0} = ${i0}.value_counts(${bins}${sort}${ascending}${dropna}${etc})",
24412444
"options": [
24422445
{
24432446
"name": "i0",
@@ -2454,7 +2457,39 @@ define([
24542457
"component": [
24552458
"input"
24562459
]
2457-
}
2460+
},
2461+
{
2462+
"name": "bins",
2463+
"component": [
2464+
"input_number"
2465+
],
2466+
"help": "Only for Series object",
2467+
"usePair": true,
2468+
},
2469+
{
2470+
"name": "sort",
2471+
"component": [
2472+
"bool_select"
2473+
],
2474+
"default": "True",
2475+
"usePair": true,
2476+
},
2477+
{
2478+
"name": "ascending",
2479+
"component": [
2480+
"bool_select"
2481+
],
2482+
"default": "False",
2483+
"usePair": true,
2484+
},
2485+
{
2486+
"name": "dropna",
2487+
"component": [
2488+
"bool_select"
2489+
],
2490+
"default": "True",
2491+
"usePair": true,
2492+
},
24582493
]
24592494
},
24602495
"pdIdt_info": {

0 commit comments

Comments
 (0)