diff --git a/src/api_block/blockContainer.js b/src/api_block/blockContainer.js
index 4b0dc7f8..745b0610 100644
--- a/src/api_block/blockContainer.js
+++ b/src/api_block/blockContainer.js
@@ -2649,7 +2649,7 @@ define([
this.hideOptionPreviewBox();
$(VP_ID_PREFIX + VP_APIBLOCK_BOARD_OPTION_PREVIEW_BUTTON).removeClass('enabled');
- this.setNavigator(BLOCK_CODELINE_TYPE.NONE, 'Visual Python 1.2.1');
+ this.setNavigator(BLOCK_CODELINE_TYPE.NONE, 'Visual Python 1.2.2');
this.setFocusedPageType(FOCUSED_PAGE_TYPE.BOARD);
$('.vp-apiblock-option-tab-none').css(STR_DISPLAY, STR_BLOCK);
}
diff --git a/src/api_block/index.html b/src/api_block/index.html
index 84283246..21bda4ba 100644
--- a/src/api_block/index.html
+++ b/src/api_block/index.html
@@ -120,7 +120,7 @@
id='vp_apiblock_option_page'>
- Visual Python 1.2.1
+ Visual Python 1.2.2
diff --git a/src/common/constant.js b/src/common/constant.js
index 972850b5..f865f868 100644
--- a/src/common/constant.js
+++ b/src/common/constant.js
@@ -48,7 +48,7 @@ define ([
* toolbar btn properties
*/
const TOOLBAR_BTN_INFO = {
- HELP: "Visual Python 1.2.1"
+ HELP: "Visual Python 1.2.2"
// , ICON: "fa-angellist"
, ICON: "vp-main-icon"
, ID: "vpBtnToggle"
diff --git a/src/common/vpGroupby.js b/src/common/vpGroupby.js
index d909e303..b2884ac0 100644
--- a/src/common/vpGroupby.js
+++ b/src/common/vpGroupby.js
@@ -437,6 +437,9 @@ define([
page.appendFormatLine('', '', 'Select method type');
page.appendFormatLine('', 'typing', 'Typing');
this.methodList.forEach(method => {
+ if (method.value == '') {
+ return;
+ }
page.appendFormatLine('', method.value, method.label);
});
page.appendLine('');
@@ -1196,7 +1199,7 @@ define([
}
}
- if (method != '') {
+ if (method != '' || advanced) {
// when using as_index option with Grouper, use .reset_index()
if (useGrouper && resetIndex) {
methodStr.append('.reset_index()');