export
Export a dataframe to a file
Source Code: [link]
openbb.forecast.export(data: pd.DataFrame, export: str, name: str = "", sheet_name: Optional[str] = None)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
data | pd.DataFrame | The dataframe to export | None | False |
export | str | The format to export the dataframe to | None | False |
name | str | The name of the dataframe | True | |
sheet_name | str | Optionally specify the name of the sheet the data is exported to. | None | True |
Returns
This function does not return anything