input: from typing import List
  
  def sql_to_pandas(query: str, connection: object) -> pd.DataFrame:
      """ Given a SQL query and a database connection, convert the result of the query
      to a Pandas DataFrame.
      >>> sql_to_pandas("SELECT * FROM book;", conn)
      Name    ID    Author
      0   Book A  1    Author1
      1   Book B  2    Author2
      """
      
      import pandas as pd
      return pd.read_sql_query(query, connection)
output:     import pandas as pd
      return pd.read_sql_query(query, connection)