def clean_whitespaces(df, *cols):
    """
    Removes all whitespaces from items in one or more pd.Dataframe columns.
    :param df: the Dataframe
    :param cols: the columns to remove whitespaces
    """
    for col in cols:
        df[col] = df[col].str.replace(' ', '')
