import sqlite3
conn = sqlite3.connect("space.db", isolation_level=None)
cur = conn.cursor()cur.execute('''
CREATE TABLE sunspots (
id INTEGER PRIMARY KEY AUTOINCREMENT,
date DATE,
sunspot_count INTEGER,
sunspot_sd REAL,
sunspot_obs_no INTEGER
);
''')