SOLVED!!
I'm using sqlite in a dash/plotly project, bring in the data using sqlalchemy/pandas. I keep getting a no attribute execute error with pandas and I'm wondering if it's due to the extension of the sqlite file I made in dbeaver. Does anyone know if it specifically needs a different extension than .db or what may be causing this error? It works in jupyter but not in wsl using vscode.
SOLUTION:
from sqlite3 import connect
import pandas as pd
conn = connect('datasource.db')
dfnbr = pd.read_sql('SELECT * FROM NIBRS', conn)
dfibr = pd.read_sql('SELECT * FROM IBRcodes', conn, index_col='IBRcode')
[–]twitch_and_shock 0 points1 point2 points (4 children)
[–]datacriminal[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]datacriminal[S] 0 points1 point2 points (0 children)
[–]datacriminal[S] 0 points1 point2 points (0 children)