code: def display_charts(df, chart_type="default", render_to=None, **kwargs):
      
      if chart_type not in ("default", "stock"):
          raise ValueError("Wrong chart_type: accept 'default' or 'stock'.")
      chart_id = render_to if render_to is not None else _generate_div_id_chart()
      json_data = serialize(df, render_to=chart_id, chart_type=chart_type,
                            **kwargs)
      content = """<div id="{chart_id}"</div>
      <script type="text/javascript">{data}</script>"""
      return display(HTML(content.format(chart_id=chart_id,
                                         data=json_data)))
docs: Display you DataFrame with Highcharts.
  
      df: DataFrame
      chart_type: str
          'default' or 'stock'
      render_to: str
          div id for plotting your data