BPt.Dataset.remove_scope#

Dataset.remove_scope(scope, scope_val, inplace=False)[source]#

This method is used for removing scopes from an existing column or subset of columns, as selected by the scope parameter.

See Scope for more information on how scope’s are used in BPt. This function specifically is for removing custom, tag-like, scopes to certain columns.

See related method add_scope

Parameters
scopeScope

A BPt style Scope used to select a subset of column in which to remove scopes (scope_val).

scope_valstr or array-like of str

A single string scope value to remove from the column(s), or an array-like of scope values to all remove from the selected column(s).

inplacebool, optional

If True, do operation inplace and return None.

default = False