code: def process_prediction_results(results, show_image):
    
  
    import pandas as pd
  
    if (is_in_IPython() and show_image is True):
      import IPython
      for image_url, image, label_and_score in results:
        IPython.display.display_html('<p style="font-size:28px">%s(%.5f)</p>' % label_and_score,
                                     raw=True)
        IPython.display.display(IPython.display.Image(data=image))
    result_dict = [{'image_url': url, 'label': r[0], 'score': r[1]} for url, _, r in results]
    return pd.DataFrame(result_dict)
docs: Create DataFrames out of prediction results, and display images in IPython if requested.