clarite.describe.percent_na

clarite.describe.percent_na(data:pandas.core.frame.DataFrame)

Return the percent of observations that are NA for each variable

Parameters
data: pd.DataFrame

The DataFrame to be described

Returns
result: pd.Series

Series listing percent NA for each variable

Examples

>>> import clarite
>>> clarite.describe.percent_na(df)
variable    percent_na
SDDSRVYR                 0.00000
female                   0.00000
LBXHBC                   4.99321
LBXHBS                   4.98730