Series.describe

Generate descriptive statistics. Descriptive statistics include those that summarize the central tendency, dispersion and shape of a dataset’s distribution, excluding NaN values

danfo.Series.describe()

Parameters: No parameter

return: Series

Example

const dfd = require("danfojs-node")

let data = [1,2,3,4,5,6]
let sf = new dfd.Series(data)
sf.describe().print()
╔══════════╤════════════════════╗
║ count    │ 6                  ║
╟──────────┼────────────────────╢
║ mean     │ 3.5                ║
╟──────────┼────────────────────╢
║ std      │ 1.8708286933869707 ║
╟──────────┼────────────────────╢
║ min      │ 1                  ║
╟──────────┼────────────────────╢
║ median   │ 3.5                ║
╟──────────┼────────────────────╢
║ max      │ 6                  ║
╟──────────┼────────────────────╢
║ variance │ 3.5                ║
╚══════════╧════════════════════╝

Last updated