def null_removal_mode(dataframe, colname):
    """Replace nulls with the mode on dataframe[colname]"""

    col = dataframe[colname]

    dataframe[colname] = col.fillna(col.mode().get(0, None))

    return dataframe