Allow create_table to take data, not just a file