Skip to content

Latest commit

 

History

History
55 lines (46 loc) · 1.68 KB

series.describe.md

File metadata and controls

55 lines (46 loc) · 1.68 KB
description
Generate descriptive statistics. Descriptive statistics include those that summarize the central tendency, dispersion and shape of a dataset’s distribution, excluding NaN values

Series.describe

danfo.Series.describe()

Parameters: No parameter

return: Series

Example

{% tabs %} {% tab title="Node" %}

const dfd = require("danfojs-node")

let data = [1,2,3,4,5,6]
let sf = new dfd.Series(data)
sf.describe().print()

{% endtab %}

{% tab title="Browser" %}

{% endtab %} {% endtabs %}

{% tabs %} {% tab title="Output" %}

╔══════════╤════════════════════╗
║ count    │ 6                  ║
╟──────────┼────────────────────╢
║ mean     │ 3.5                ║
╟──────────┼────────────────────╢
║ std      │ 1.8708286933869707 ║
╟──────────┼────────────────────╢
║ min      │ 1                  ║
╟──────────┼────────────────────╢
║ median   │ 3.5                ║
╟──────────┼────────────────────╢
║ max      │ 6                  ║
╟──────────┼────────────────────╢
║ variance │ 3.5                ║
╚══════════╧════════════════════╝

{% endtab %} {% endtabs %}