Skip to main content

cdf

Plots Cumulative Distribution Function

Source Code: [link]

openbb.qa.cdf(data: pd.DataFrame, target: str, symbol: str = "", export: str = "", sheet_name: Optional[str] = None, external_axes: bool = False)

Parameters

NameTypeDescriptionDefaultOptional
datapd.DataFrameDataframe to look atNoneFalse
targetstrData columnNoneFalse
symbolstrName of datasetTrue
exportstrFormat to export dataTrue
external_axesboolWhether to return the figure object or not, by default FalseFalseTrue

Returns

This function does not return anything


Examples

from openbb_terminal.sdk import openbb
df = openbb.stocks.load("AAPL")
openbb.qa.cdf(data=df, target="Adj Close")