def get_columns_from_data_range_rows(data, start_row, end_row, columns):
    """
    This function is a wrapper around the indexing of pandas data frames. This function gets some of the rows
    from the data frame specified by the start_row and end_row.
    :param data: Pandas data frame
    :param start_row: int value specifying the row to start from
    :param end_row: int value specifying the row to end at
    :param columns: The columns which are to be selected.
    :return: Pandas data frame
    """
    return data.loc[start_row:end_row, columns]