def dropColumns(syn, target, cols):
    """ Delete columns from a file view on Synapse.

    Parameters
    ----------
    syn : synapseclient.Synapse
    target : str, synapseclient.Schema
        The Synapse ID of a Synapse Table or File View, or its schema.
    cols : str, list
        A str or list of str indicating column names to drop.

    Returns
    -------
    synapseclient.table.EntityViewSchema
    """
    cols = [cols] if isinstance(cols, str) else cols
    schema = syn.get(target) if isinstance(target, str) else target
    cols_ = syn.getTableColumns(schema.id)
    for c in cols_:
        if c.name in cols:
            schema.removeColumn(c)
    schema = syn.store(schema)
    return schema