def add_wedge_spacing(df, spacing):
    """Add spacing to the `inners` column of the provided data based on level."""
    if isinstance(spacing, list):
        for i, space in enumerate(spacing):
            df.ix[df['level'] == i, 'inners'] += space
    else:
        df.ix[df['level'] > 0, 'inners'] += spacing
