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 9c485e3 commit 3d45999Copy full SHA for 3d45999
1 file changed
danfojs/src/core/groupby.js
@@ -378,7 +378,7 @@ export class GroupBy {
378
let k_data = key_val[key_2]
379
let kk = []
380
kk[0] = isNaN(parseInt(key_1)) ? key_1 : parseInt(key_1)
381
- kk[1] = isNaN(parseInt(key_2)) ? key_1 : parseInt(key_2)
+ kk[1] = isNaN(parseInt(key_2)) ? key_2 : parseInt(key_2)
382
kk.push(...k_data)
383
df_data.push(kk)
384
0 commit comments