input: Write a python function to search for a product in a dataframe and return its details.
  assert search_product('Apple')==[{'Name': 'Apple', 'Category': 'Fruit', 'Price': '$3.99'}]
  assert search_product('Tomato')==[{'Name': 'Tomato', 'Category': 'Vegetable', 'Price': '$1.99'}]
  assert search_product('Shampoo')==[{'Name': 'Shampoo', 'Category': 'Household', 'Price': '$2.99'}]
  assert search_product('Banana')==[]
output: import pandas as pd
  
  # Sample data for the dataframe
  data = {'Name': ['Apple', 'Tomato', 'Shampoo'],
          'Category': ['Fruit', 'Vegetable', 'Household'],
          'Price': ['$3.99', '$1.99', '$2.99']}
  df = pd.DataFrame(data)
  
  def search_product(product_name):
      result = df[df['Name'] == product_name]
      if not result.empty:
          return result.to_dict('records')
      else:
          return []