desc
- Model
- Chart
Returns statistics for a given df
Source Code: [link]
openbb.forecast.desc(data: pd.DataFrame)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
data | pd.DataFrame | The df to produce statistics for | None | False |
Returns
Type | Description |
---|---|
pd.DataFrame | The df with the new data |
Show descriptive statistics for a dataframe
Source Code: [link]
openbb.forecast.desc_chart(data: pd.DataFrame, name: str = "", export: str = "", sheet_name: Optional[str] = None)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
data | pd.DataFrame | The dataframe to show | None | False |
name | str | The name of the dataframe | True | |
export | str | Format to export data | 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