#NEWLINE# def create_empty_table( bdb , column_names ) : #NEWLINE# #INDENT# 'Create a fresh empty table with the given column names.\n\n    Give all the columns a NUMERIC data type in the underlying SQL.\n    Return the name of the new table.\n    ' #NEWLINE# table = bdb . temp_table_name ( ) #NEWLINE# qt = sqlite3_quote_name ( bdb ) #NEWLINE# qcns = map ( sqlite3_quote_name , column_names ) #NEWLINE# schema = ',' . join ( ( ( '%s NUMERIC' % ( qcn , ) ) for qcn in qcns ) ) #NEWLINE# bdb . sql_execute ( ( 'CREATE TABLE %s(%s)' % ( qt , schema ) ) ) #NEWLINE# core . bayesdb_table_guarantee_columns ( bdb , table ) #NEWLINE# return table