@@ -21,16 +21,15 @@ define([
21
21
] , function ( importCss , com_util , com_Const , com_String , PopupComponent ) {
22
22
23
23
const importTemplates = {
24
- 'pre-processing ' : [
24
+ 'data-analysis ' : [
25
25
{ i0 : 'numpy' , i1 : 'np' , type : 'module' } ,
26
26
{ i0 : 'pandas' , i1 : 'pd' , type : 'module' } ,
27
27
{
28
28
i0 : 'matplotlib.pyplot' , i1 : 'plt' , type : 'module'
29
29
, include : [
30
30
'%matplotlib inline'
31
31
]
32
- } ,
33
- { i0 : 'seaborn' , i1 : 'sns' , type : 'module' }
32
+ }
34
33
] ,
35
34
'machine-learning' : [
36
35
{ i0 : 'sklearn.model_selection' , i1 : 'train_test_split' , type : 'function' } ,
@@ -56,7 +55,7 @@ define([
56
55
}
57
56
58
57
this . state = {
59
- tabType : 'pre-processing ' ,
58
+ tabType : 'data-analysis ' ,
60
59
importMeta : [ ] ,
61
60
...savedData ,
62
61
...this . state
@@ -142,7 +141,7 @@ define([
142
141
// tab buttons
143
142
page . appendLine ( '<div class="vp-tab-box">' ) ;
144
143
page . appendFormatLine ( '<div class="vp-tab-button {0}" data-tab="{1}">{2}</div>'
145
- , this . state . tabType == 'pre-processing ' ?'vp-tab-selected' :'' , 'pre-processing ' , 'Pre-processing ' ) ;
144
+ , this . state . tabType == 'data-analysis ' ?'vp-tab-selected' :'' , 'data-analysis ' , 'Data Analysis ' ) ;
146
145
page . appendFormatLine ( '<div class="vp-tab-button {0}" data-tab="{1}">{2}</div>'
147
146
, this . state . tabType == 'machine-learning' ?'vp-tab-selected' :'' , 'machine-learning' , 'Machine Learning' ) ;
148
147
page . appendLine ( '</div>' ) ;
0 commit comments