mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 05:21:48 +00:00
* Update generate_terminal_markdown.py * updates * update workflows * Automated Change * tests * tests * Automated Change * Update test_generate_docs.py * Automated Change * updates * Automated Change * Update gen-docs.yml * Update test.yml * Automated Change * Update test.yml * Automated Change * Update generate_sdk_markdown.py * Automated Change * test * Automated Change * testtt23 * Automated Change * Update generate_sdk_markdown.py * Automated Change * Automated Change * added empting reference folders before autogen docs * updates * Automated Change * update tests gitactions * Automated Change * up * Automated Change * Automated Change * update pytest * Automated Change * tests * Automated Change * examples update * Automated Change * Update generate_sdk_markdown.py * Automated Change * Update test.yml * Update generate_sdk_markdown.py * strip * Automated Change * Workflow : check test update * Automated Change * Automated Change * Automated Change * Update test.yml * Automated Change * Update test.yml * Automated Change * Automated Change * up * Automated Change * Update generate_sdk_markdown.py * Automated Change * update workflows * fix guides * testing * Update gh-pages.yml * Update gh-pages.yml Co-authored-by: tehcoderer <tehcoderer@users.noreply.github.com> Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com> Co-authored-by: Chavithra PARANA <chavithra@gmail.com> Co-authored-by: Chavithra <Chavithra@users.noreply.github.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: jose-donato <jose-donato@users.noreply.github.com>
6.0 KiB
Vendored
6.0 KiB
Vendored
title, description
| title | description |
|---|---|
| desc | OpenBB Terminal Function |
desc
Show the descriptive statistics of the dataset
Usage
desc -n {}
Parameters
| Name | Description | Default | Optional | Choices |
|---|---|---|---|---|
| name | The name of the dataset.column you want to show the descriptive statistics | None | False | None |
Examples
2022 Jun 01, 06:50 (🦋) /econometrics/ $ load anes96
2022 Jun 01, 06:51 (🦋) /econometrics/ $ desc anes96
Statistics for dataset: 'anes96'
┏━━━━━━━┳━━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┓
┃ ┃ popul ┃ tvnews ┃ selflr ┃ clinlr ┃ dolelr ┃ pid ┃ age ┃ educ ┃ income ┃ vote ┃ logpopul ┃
┡━━━━━━━╇━━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━┩
│ count │ 944.00 │ 944.00 │ 944.00 │ 944.00 │ 944.00 │ 944.00 │ 944.00 │ 944.00 │ 944.00 │ 944.00 │ 944.00 │
├───────┼─────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼──────────┤
│ mean │ 306.38 │ 3.73 │ 4.33 │ 2.94 │ 5.39 │ 2.84 │ 47.04 │ 4.57 │ 16.33 │ 0.42 │ 2.47 │
├───────┼─────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼──────────┤
│ std │ 1082.61 │ 2.68 │ 1.44 │ 1.38 │ 1.27 │ 2.27 │ 16.42 │ 1.60 │ 5.97 │ 0.49 │ 3.19 │
├───────┼─────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼──────────┤
│ min │ 0.00 │ 0.00 │ 1.00 │ 1.00 │ 1.00 │ 0.00 │ 19.00 │ 1.00 │ 1.00 │ 0.00 │ -2.30 │
├───────┼─────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼──────────┤
│ 25% │ 1.00 │ 1.00 │ 3.00 │ 2.00 │ 5.00 │ 1.00 │ 34.00 │ 3.00 │ 14.00 │ 0.00 │ 0.10 │
├───────┼─────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼──────────┤
│ 50% │ 22.00 │ 3.00 │ 4.00 │ 3.00 │ 6.00 │ 2.00 │ 44.00 │ 4.00 │ 17.00 │ 0.00 │ 3.10 │
├───────┼─────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼──────────┤
│ 75% │ 110.00 │ 7.00 │ 6.00 │ 4.00 │ 6.00 │ 5.00 │ 58.00 │ 6.00 │ 21.00 │ 1.00 │ 4.70 │
├───────┼─────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼──────────┤
│ max │ 7300.00 │ 7.00 │ 7.00 │ 7.00 │ 7.00 │ 6.00 │ 91.00 │ 7.00 │ 24.00 │ 1.00 │ 8.90 │
└───────┴─────────┴────────┴────────┴────────┴────────┴────────┴────────┴────────┴────────┴────────┴──────────┘
2022 Jun 01, 06:51 (🦋) /econometrics/ $ desc anes96.educ
Statistics for dataset: 'anes96'
┏━━━━━━━┳━━━━━━━━┓
┃ ┃ educ ┃
┡━━━━━━━╇━━━━━━━━┩
│ count │ 944.00 │
├───────┼────────┤
│ mean │ 4.57 │
├───────┼────────┤
│ std │ 1.60 │
├───────┼────────┤
│ min │ 1.00 │
├───────┼────────┤
│ 25% │ 3.00 │
├───────┼────────┤
│ 50% │ 4.00 │
├───────┼────────┤
│ 75% │ 6.00 │
├───────┼────────┤
│ max │ 7.00 │
└───────┴────────┘