Skip to content

Commit 4993242

Browse files
authored
Merge pull request #351 from Devwulf/dev
Added the missing groupby.std()
2 parents a6e2cf4 + decd1b4 commit 4993242

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/danfojs-base/aggregators/groupby.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,14 @@ export default class Groupby {
441441
return this.operations("sum")
442442
}
443443

444+
/**
445+
* Obtain the standard deviation of columns for each group
446+
* @returns DataFrame
447+
*/
448+
std(): DataFrame{
449+
return this.operations("std")
450+
}
451+
444452
/**
445453
* Obtain the variance of columns for each group
446454
* @returns DataFrame

0 commit comments

Comments
 (0)