turntable/press.py
def load_record(index_series_tuple, kwargs):
    '''
    Generates an instance of Record() from a tuple of the form (index, pandas.Series) 
    with associated parameters kwargs

    Paremeters
    ----------
    index_series_tuple : tuple
        tuple consisting of (index, pandas.Series)
    kwargs : dict
        aditional arguments

    Returns
    -------
    Record : object

    '''

    index_record = index_series_tuple[0]
    series = index_series_tuple[1]
    record = Record()
    record.series = series
    record.index_record = index_record
    record.set_attributes(kwargs)
    return record
def load_record(index_series_tuple, kwargs):
    '''
    Generates an instance of Record() from a tuple of the form (index, pandas.Series) 
    with associated parameters kwargs

    Paremeters
    ----------
    index_series_tuple : tuple
        tuple consisting of (index, pandas.Series)
    kwargs : dict
        aditional arguments

    Returns
    -------
    Record : object

    '''

    index_record = index_series_tuple[0]
    series = index_series_tuple[1]
    record = Record()
    record.series = series
    record.index_record = index_record
    record.set_attributes(kwargs)
    return record
Generates an instance of Record() from a tuple of the form (index, pandas.Series) 
    with associated parameters kwargs

    Paremeters
    ----------
    index_series_tuple : tuple
        tuple consisting of (index, pandas.Series)
    kwargs : dict
        aditional arguments

    Returns
    -------
    Record : object