pydit.wrangling.counts.count_notna

pydit.wrangling.counts.count_notna(df, cols)[source]

Returns the number of non-null values in the columns specified in cols :param df: Dataframe to be analyzed :type df: pd.DataFrame :param cols: List of columns to be analyzed :type cols: list

Returns:

Series with the number of non-null values in the columns specified in cols

Return type:

pd.Series