drop¶
In [ ]:
drop(name: str = "",
raise_error: bool = False,
method: str = "auto",)
Drops the input relation (It can be a Model, a View, a Table, a Text Index, a Schema or a Geo Index).
Parameters¶
Name | Type | Optional | Description |
---|---|---|---|
name | str | ✓ | Relation name. If empty, it will drop all VerticaPy temporary elements. |
raise_error | bool | ✓ | If the model couldn't be dropped, raises the entire error instead of displaying a warning. |
method / relation_type | str | ✓ | Method used to drop.
|
Returns¶
bool : True if the relation was dropped, False otherwise.
Example¶
In [46]:
from verticapy.utilities import drop
drop(name = "public.model_example")
Out[46]: