MCPcopy Index your code
hub / github.com/javascriptdata/danfojs / std

Method std

src/danfojs-base/core/series.ts:716–719  ·  view source on GitHub ↗

* Return sample standard deviation of elements in Series * @example * ``` * const sf = new Series([1, 2, 3, 4, 5, 6]); * console.log(sf.std()); * //output 1.8708286933869707 * ```

()

Source from the content-addressed store, hash-verified

714 * ```
715 */
716 std(): number {
717 const values = this.$checkAndCleanValues(this.values as ArrayType1D, "max")
718 return std(values);
719 }
720
721 /**
722 * Return unbiased variance of elements in a Series.

Callers 1

describeMethod · 0.95

Calls 1

$checkAndCleanValuesMethod · 0.95

Tested by 1

describeMethod · 0.76