Loading...

verticapy.create_schema#

verticapy.create_schema(schema: str, raise_error: bool = False) bool#

Creates a new schema.

Parameters#

schema: str

Schema name.

raise_error: bool, optional

If the schema couldn’t be created, the function raises an error.

Returns#

bool

True if the schema was successfully created, False otherwise.

Examples#

Create a new schema:

from verticapy.sql import create_schema

create_schema(schema = "employees_test")
Out[2]: False

See also

create_table() : Creates a table.