Skip to content

Commit b73e208

Browse files
author
minjk-bl
committed
Add numeric_only to statistics on Frame app
1 parent 8f8e25a commit b73e208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visualpython/js/m_apps/Frame.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3138,7 +3138,7 @@ define([
31383138
if (content['columns'].length > 0) {
31393139
code.appendFormat("[[{0}]]", content['columns'].join(','));
31403140
}
3141-
code.appendFormat(".apply(lambda x: x.{0}(), axis=1)", content.method);
3141+
code.appendFormat(".apply(lambda x: x.{0}(numeric_only=True), axis=1)", content.method);
31423142
// code.appendFormat(".{0}(axis=1)", content.method); // FIXME: for pandas version upper 2.0.0
31433143
} else if (tab == 'replace') {
31443144
var replaceStr = new com_String();

0 commit comments

Comments
 (0)