title: How to plot pivot chart in python?
body: <p>Currenly, I am new in python scripting I am using panda, pivottablejs for creating a script. I have one csv file and I read that csv file using panda and I got the table like this.
  <a href="https://i.stack.imgur.com/UcNgQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UcNgQ.png" alt="enter image description here"></a></p>
  
  <p>Now, I want to generate the pivotchart using pivottablejs so for that I have to pass dataframe object in the pivot_ui();</p>
  
  <p>I want to Plot in Pivot Chart the total number of issue status created for every OriginationPhase.</p>
  
  <p>So I tried something like this.</p>
  
  <pre><code>LabelsReviewedByDate = issues_df.groupby(['Status','OriginationPhase'])
  
  pivot_ui(LabelsReviewedByDate)
  </code></pre>
  
  <p>I know this is wrong but I am new in python scripting. So help me to find the solution.</p>
  
  <p>Thank you</p>