def create_from_list(self, re=[], index=True):
self.cursor.execute('<STR_LIT>')<EOL>tic = now()<EOL>i = <NUM_LIT:0><EOL>for x in re:<EOL><INDENT>data = list(zip([i] * len(x), x))<EOL>self.cursor.executemany('<STR_LIT>', data)<EOL>i += <NUM_LIT:1><EOL><DEDENT>self.conn.commit()<EOL>toc = now()<EOL>if self.debug: print('<STR_LIT>' % (toc-tic))<EOL>if index:<EOL><INDENT>tic = now()<EOL>self.cursor.execute('<STR_LIT>')<EOL>toc = now()<EOL>if self.debug: print('<STR_LIT>' % (toc-tic))<EOL><DEDENT>
Create db from list of arrays.


Parameters
----------
re : list
    Index of element is cell index, and element `i` an array of spike times in ms.
index : bool
    Create index on neurons for speed.


Returns
-------
None


See also
--------
sqlite3.connect.cursor, sqlite3.connect