We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c274ee + 9b20ffa commit 0f85caeCopy full SHA for 0f85cae
src/danfojs-base/core/frame.ts
@@ -2102,7 +2102,7 @@ export default class DataFrame extends NDframe implements DataFrameInterface {
2102
): DataFrame | void {
2103
let { columns, inplace } = { inplace: false, ...options }
2104
2105
- if (!values && typeof values !== "boolean" && typeof values !== "number") {
+ if (!values && typeof values !== "boolean" && typeof values !== "number" && typeof values !== "string") {
2106
throw Error('ParamError: value must be specified');
2107
}
2108
0 commit comments