AddRowsWithID#
from tmlt.analytics import AddRowsWithID
- class tmlt.analytics.AddRowsWithID(id_column, id_space='default_id_space')#
Bases:
ProtectedChange
Protects the addition or removal of rows with a specific identifier.
Instead of limiting the number of rows that may be added or removed,
AddRowsWithID
hides the addition or removal of all rows with the same value in the specified column.The ID column must be a string, integer (or long), or date; it cannot be a float or a timestamp.
-
id_space:
str
= 'default_id_space'# The identifier space of the rows that may be added or removed. If not specified, a default will be assigned when using this protected change with
Session.from_dataframe()
.
- __post_init__()#
Validate attributes.
-
id_space: