mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-02 23:41:27 +00:00
* add first iteration of content for Terminal Pro * Update index.md * Update dashboards.md * Update folders.md * Update grouping.md * Update report.md * Update templates.md * Update quick-start.md * Update index.md * Update index.md * Update home.md * Update news.md * Update index.md * Update index.md * Update index.md * Update data-provider.md * Update chat-with-widget.md * Update data-manipulation.md * Update forecasting.md * fix: images self closing tags * fix: only pro visitors can see pro * inter font * improve SEO content and restructuring * add new package for toggle on tutorials * move folder around * improve main page of each prod * small updates and improvements * fix logo above * small improvement in headtitle for portfolio funcs * fix typos from OpenAI's GPT-4 * fix _category_ json * remove generic SEO words * add script that generates SEO for documentation * add missing file * remove sdk warning message * fix links for andrew --------- Co-authored-by: jose-donato <zmcdonato@gmail.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
3.3 KiB
Vendored
3.3 KiB
Vendored
title, description, keywords
| title | description | keywords | |||||
|---|---|---|---|---|---|---|---|
| combine | This page provides comprehensive documentation on the 'combine' function, including its usage with Python, parameters, and clear, practical examples. Combine is essential when dealing with datasets, particularly when you need to add specific columns. |
|
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
The columns you want to add to a dataset. The first argument is the dataset to add columns inand the remaining could be: datasetX.column2,datasetY.column3
Usage
combine [-d {}] [-c COLUMNS]
Parameters
| Name | Description | Default | Optional | Choices |
|---|---|---|---|---|
| dataset | Dataset to add columns to | None | True | None |
| columns | The columns we want to add dataset.column,dataset.column2 | None | True | None |
Examples
2022 May 31, 04:54 (🦋) /econometrics/ $ load nile
2022 May 31, 04:54 (🦋) /econometrics/ $ load nile -a nile_2
2022 May 31, 04:54 (🦋) /econometrics/ $ combine nile -c nile_2.volume
2022 May 31, 04:55 (🦋) /econometrics/ $ show nile
Dataset nile | Showing 10 of 100 rows
┏━━━┳━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ ┃ year ┃ volume ┃ nile_2_volume ┃
┡━━━╇━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ 0 │ 1871.00 │ 1120.00 │ 1120.00 │
├───┼─────────┼─────────┼───────────────┤
│ 1 │ 1872.00 │ 1160.00 │ 1160.00 │
├───┼─────────┼─────────┼───────────────┤
│ 2 │ 1873.00 │ 963.00 │ 963.00 │
├───┼─────────┼─────────┼───────────────┤
│ 3 │ 1874.00 │ 1210.00 │ 1210.00 │
├───┼─────────┼─────────┼───────────────┤
│ 4 │ 1875.00 │ 1160.00 │ 1160.00 │
├───┼─────────┼─────────┼───────────────┤
│ 5 │ 1876.00 │ 1160.00 │ 1160.00 │
├───┼─────────┼─────────┼───────────────┤
│ 6 │ 1877.00 │ 813.00 │ 813.00 │
├───┼─────────┼─────────┼───────────────┤
│ 7 │ 1878.00 │ 1230.00 │ 1230.00 │
├───┼─────────┼─────────┼───────────────┤
│ 8 │ 1879.00 │ 1370.00 │ 1370.00 │
├───┼─────────┼─────────┼───────────────┤
│ 9 │ 1880.00 │ 1140.00 │ 1140.00 │
└───┴─────────┴─────────┴───────────────┘