def offset_tuple_col(df, offset_col, tuple_col):
    """Takes a dataframe (df) with at least two columns
    (`offset_col` and `tuple_col`)
    and offsets all values given in tuple_col using an offset

    Parameters
    ----------
    df: `pd.DataFrame`
        input dataframe which includes desired values
    offset_col: `str`
        The column with the offset value
    tuple_col: `str`
        The column with tuples including real (float/double/int) numbers

    Returns
    -------
    df_offset : `pd.Dataframe`
        A dataframe which is same as ``df`` and only the
        ``tuple_col`` is altered by adding an offset to
        all values in each tuple.
    """
    return df.apply(
        lambda row: tuple(
            e + row[offset_col] for e in row[tuple_col]),
        axis=1)