mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-06 09:22:26 +00:00
* Adding versioning to docs --------- Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com> Co-authored-by: tehcoderer <me@tehcoderer.com>
850 B
Vendored
850 B
Vendored
title, description
| title | description |
|---|---|
| combine | OpenBB SDK Function |
combine
Adds the given column of df2 to df1
Source Code: [link]
openbb.forecast.combine(df1: pd.DataFrame, df2: pd.DataFrame, column: str, dataset: str = "")
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| df1 | pd.DataFrame | The dataframe to add a column to | None | False |
| df2 | pd.DataFrame | The dataframe to lose a column | None | False |
| column | str | The column to transfer | None | False |
| dataset | str | A name for df2 (shows in name of new column) | True |
Returns
| Type | Description |
|---|---|
| pd.DataFrame | The new dataframe |