Skip to content

Commit c42729b

Browse files
author
minjk-bl
committed
Fix undefined code on DataPrep
1 parent c83e8fb commit c42729b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visualpython/js/m_ml/DataPrep.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ define([
450450
// generate mct code
451451
if (modelType === 'make-column-transformer') {
452452
let mctCodes = [];
453-
let { mct_estimator1, mct_columns1, mct_estimator2, mct_columns2 } = state;
453+
let { mct_estimator1, mct_columns1='', mct_estimator2, mct_columns2='' } = state;
454454
if (mct_estimator1 != undefined && mct_estimator1 != '') {
455455
code.appendLine(this.modelConfig[mct_estimator1].import);
456456
let estimator1code = com_generator.vp_codeGenerator(this, this.modelConfig[mct_estimator1], state, (userOption != ''? ', ' + userOption : ''));

0 commit comments

Comments
 (0)