python – sqlite3.OperationalError: near “group”: syntax error in sqlite3

I use sqlite3 library for using database in python. When I want to make a table, I get this error:

sqlite3.OperationalError: near "group": syntax error

My function that does this:

def connect():
    conn = sqlite3.connect(dbpath)
    cursor = conn.cursor()
    cursor.execute("CREATE TABLE IF NOT EXISTS names (id INTEGER PRIMARY KEY, name text, group text, act text)")
    conn.commit()
    conn.close()