from sqlalchemy import create_engine engine = create_engine("sqlite:///data.db") query = """ SELECT * FROM weather; """ weather = pd.read_sql(query, engine)