options
- Model
- Chart
Obtain columns-dataset combinations from loaded in datasets that can be used in other commands
Source Code: [link]
openbb.econometrics.options(datasets: Dict[str, pd.DataFrame], dataset_name: str = "")
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
datasets | dict | The available datasets. | None | False |
dataset_name | str | The dataset you wish to show the options for. | True |
Returns
Type | Description |
---|---|
Dict[Union[str, Any], pd.DataFrame] | A dictionary with a DataFrame for each option. With dataset_name set, only shows one options table. |
Plot custom data
Source Code: [link]
openbb.econometrics.options_chart(datasets: Dict[str, pd.DataFrame], dataset_name: Optional[str] = None, export: str = "", sheet_name: Optional[str] = None)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
datasets | dict | The loaded in datasets | None | False |
dataset_name | str | The name of the dataset you wish to show options for | None | True |
sheet_name | str | Optionally specify the name of the sheet the data is exported to. | None | True |
export | str | Format to export image | True |
Returns
This function does not return anything