code: def to_dataframe(products):
          
          try:
              import pandas as pd
          except ImportError:
              raise ImportError("to_dataframe requires the optional dependency Pandas.")
  
          return pd.DataFrame.from_dict(products, orient='index')
docs: Return the products from a query response as a Pandas DataFrame
          with the values in their appropriate Python types.