Skip to main content

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

NameTypeDescriptionDefaultOptional
datapd.DataFrameThe dataframe to exportNoneFalse
exportstrThe format to export the dataframe toNoneFalse
namestrThe name of the dataframeTrue
sheet_namestrOptionally specify the name of the sheet the data is exported to.NoneTrue

Returns

This function does not return anything