Skip to content

Commit 5bb2e25

Browse files
author
minjk-bl
committed
Make searchable data types to config library
1 parent 90a6d64 commit 5bb2e25

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

js/m_apps/Variable.js

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,9 @@ define([
6666

6767
// Searchable variable types
6868
var types = [
69-
// pandas object
70-
'DataFrame', 'Series', 'Index', 'Period', 'GroupBy', 'Timestamp'
71-
// Index type object
72-
, 'RangeIndex', 'CategoricalIndex', 'MultiIndex', 'IntervalIndex', 'DatetimeIndex', 'TimedeltaIndex', 'PeriodIndex', 'Int64Index', 'UInt64Index', 'Float64Index'
73-
// GroupBy type object
74-
, 'DataFrameGroupBy', 'SeriesGroupBy'
75-
// Plot type
76-
, 'Figure', 'AxesSubplot'
77-
// Numpy
78-
, 'ndarray'
79-
// Python variable
80-
, 'str', 'int', 'float', 'bool', 'dict', 'list', 'tuple'
69+
...vpConfig.getDataTypes(),
8170
// ML Data types
82-
, ...vpConfig.getMLDataTypes()
71+
...vpConfig.getMLDataTypes()
8372
];
8473

8574
var tagTable = this.wrapSelector('#vp_var_variableBox table tbody');

0 commit comments

Comments
 (0)