read database pandas

from sqlalchemy import create_engine

engine = create_engine("sqlite:///data.db")

query = """
SELECT * 
  FROM weather;
"""

weather = pd.read_sql(query, engine)

Here is what the above code is Doing:
1. Creating a connection to the database
2. Creating a query string
3. Executing the query string
4. Saving the results of the query to a variable called weather