import pandas as pd
import numpy as np


def create_calr_example_df(n_rows, start_date):
    '''

    '''
    np.random.seed(20)
    array = np.random.rand(n_rows)
    cumulative = np.cumsum(array)
    d = {
        'feature1_subject_1': array,
        'feature1_subject_2': array,
        'feature2_subject_1': cumulative,
        'feature2_subject_2': cumulative*2
    }
    idx = pd.date_range(start_date, periods=n_rows,
                        freq="MIN", name='Date_Time_1')
    return pd.DataFrame(data=d, index=idx)

[((9, 4, 9, 22), 'numpy.random.seed', 'np.random.seed', ({(9, 19, 9, 21): '(20)'}, {}), '(20)', True, 'import numpy as np\n'), ((10, 12, 10, 34), 'numpy.random.rand', 'np.random.rand', ({(10, 27, 10, 33): 'n_rows'}, {}), '(n_rows)', True, 'import numpy as np\n'), ((11, 17, 11, 33), 'numpy.cumsum', 'np.cumsum', ({(11, 27, 11, 32): 'array'}, {}), '(array)', True, 'import numpy as np\n'), ((18, 10, 19, 55), 'pandas.date_range', 'pd.date_range', (), '', True, 'import pandas as pd\n'), ((20, 11, 20, 42), 'pandas.DataFrame', 'pd.DataFrame', (), '', True, 'import pandas as pd\n')]