input: Write a function to convert a given SQL statement into a Python Pandas DataFrame. The function should accept the SQL query as a string and the database connection object as arguments, and return the resulting DataFrame.
  
  def sql_to_dataframe(sql_query: str, conn) -> pd.DataFrame:
      return pd.read_sql_query(sql_query, conn)
  
  assert sql_to_dataframe("SELECT * FROM book;", conn).equals(pd.read_sql_query("SELECT * FROM book;", conn))
  assert sql_to_dataframe("SELECT title FROM book WHERE author='John Doe';", conn).equals(pd.read_sql_query("SELECT title FROM book WHERE author='John Doe';", conn))
output: def sql_to_dataframe(sql_query: str, conn) -> pd.DataFrame:
      return pd.read_sql_query(sql_query, conn)