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.
1 parent fd8333b commit 25ac388Copy full SHA for 25ac388
1 file changed
src/danfojs-base/shared/errors.ts
@@ -52,7 +52,7 @@ class ErrorThrower {
52
}
53
54
throwColumnLengthError = (ndframe: NDframe | DataFrame, arrLen: number): void => {
55
- const msg = `ParamError: Column data length mismatch. You provided data with length ${arrLen} but Ndframe has column of length ${ndframe.shape[1]}`
+ const msg = `ParamError: Column data length mismatch. You provided data with length ${arrLen} but Ndframe has column of length ${ndframe.shape[0]}`
56
throw new Error(msg)
57
58
0 commit comments