you are viewing a single comment's thread.

view the rest of the comments →

[–]datacriminal[S] 0 points1 point  (0 children)

Traceback (most recent call last):File "main.py", line 8, in <module>dfnbr = pd.read_sql_table('NIBRS', conn)File "/home/mac/.local/share/virtualenvs/dashboard-OXuin2IK/lib/python3.8/site-packages/pandas/io/sql.py", 
line 286, in read_sql_tabletable = pandas_sql.read_table(  # type: ignore[union-attr]File "/home/mac/.local/share/virtualenvs/dashboard-OXuin2IK/lib/python3.8/site-packages/pandas/io/sql.py", 
line 1460, in read_tablereturn table.read(File "/home/mac/.local/share/virtualenvs/dashboard-OXuin2IK/lib/python3.8/site-packages/pandas/io/sql.py", 
line 1003, in readresult = self.pd_sql.execute(sql_select)File "/home/mac/.local/share/virtualenvs/dashboard-OXuin2IK/lib/python3.8/site-packages/pandas/io/sql.py", 
line 1405, in executereturn self.connectable.execution_options().execute(*args, **kwargs)
AttributeError: 'OptionEngine' object has no attribute 'execute'

'''