Esempio n. 1
0
 def create(self, table, values, schema=None):
     """Creates a table from a set of values or a pandas DataFrame."""
     if not self.connection:
         self.__exception_handler(ProgrammingError, "cursor is closed")
     return embeddedmonetdb.create(table,
                                   values,
                                   schema=schema,
                                   client=self.connection.get_connection())
Esempio n. 2
0
def create(*args, **kwargs):
    return embeddedmonetdb.create(*args, **kwargs)