create_schema

In [ ]:
create_schema(schema: str, 
              raise_error: bool = False,)

Creates a new schema.

Parameters

Name Type Optional Description
schema
str
Schema name.
raise_error
bool
If the schema couldn't be created, the function raises an error.

Returns

bool : True if the schema was successfully created, False otherwise.

Example

In [8]:
from verticapy.utilities import create_schema
create_schema(schema = "employees")
Out[8]:
True