def calc_missingness_ratio(X):
    """
    Simply calculate the missingness percentages by column name
    :param X: pd.DataFrame input data
    :return missingness_by_col_name: pd.Series, missingness by column name
    """
    missingness_by_col_name = X.isnull().sum() / len(X)

    return missingness_by_col_name