def daily_profile_process(df):
    """DataFrame with dates into a daily transaction profile

    df: DataFrame
        timeseries bike data for one specific station

    Return a DataFrame with the transactions sum & mean for each day of the week
    """
    df = df.copy()
    df['weekday'] = df['date'].apply(lambda x: x.weekday())
    return df.groupby('weekday')['value'].agg(['sum', 'mean'])