pwtools.sql.SQLiteDB.get_array

SQLiteDB.get_array(*args, **kwargs)[source]

Return result of self.execute().fetchall() as numpy array.

Usful for 2d arrays, i.e. convert result of extracting >1 columns to numpy 2d array. The result depends on the data types of the columns.