title: Pandas profiling package takes lot of time in generating html report
body: <p>It takes more than 1 minute to generate HTML report for pandas data profiling. The profiling finishes in just 3s but the report takes most of the time, how can I optimize it.</p>
  <pre><code>    profile = ProfileReport(df, title=&quot;Pandas Profiling Report&quot;,minimal=True)
      matplotlib.pyplot.switch_backend('Agg')
      text=profile.to_html() 
      
  </code></pre>
  <p><a href="https://i.stack.imgur.com/6cX4i.png" rel="nofollow noreferrer">Time requires</a></p>