title: In Pandas, how to make a PivotTable for counting and skip replicates?
body: <p>In Python3 and pandas I have a dataframe like this:</p>
  
  <pre><code>IdComissao      SiglaComissao       NomeMembro
  12444           CCJR            Abelardo Camarinha
  12444           CCJR            Abelardo Camarinha
  12448           CAD             Abelardo Camarinha
  12448           CAD             Abelardo Camarinha
  12453           CMADS           Abelardo Camarinha
  12453           CMADS           Abelardo Camarinha
  12453           CMADS           Abelardo Camarinha
  13297           CPI-InvTer      Abelardo Camarinha
  8509            CFC             Abelardo Camarinha
  8509            CFC             Abelardo Camarinha
  13149           CPIATFC         Abelardo Camarinha
  12444           CCJR            Vaz de Lima
  12445           CFOP            Vaz de Lima
  12445           CFOP            Vaz de Lima
  12445           CFOP            Vaz de Lima
  12454           CAE             Vaz de Lima
  12455           CDD             Vaz de Lima
  8501            CCJ             Vaz de Lima
  8503            CAP             Vaz de Lima
  8509            CFC             Vaz de Lima
  8509            CFC             Vaz de Lima
  8511            CEP             Vaz de Lima
  8515            CFO             Vaz de Lima
  8515            CFO             Vaz de Lima
  8515            CFO             Vaz de Lima
  8515            CFO             Vaz de Lima
  8515            CFO             Vaz de Lima
  8519            CSOP            Vaz de Lima
  8521            CEDP            Vaz de Lima
  </code></pre>
  
  <p>I am looking for a way to count how many times each name "NomeMembro" has an item "SiglaComissao", without repeats</p>
  
  <p>For example, the name "Abelardo Camarinha" has six types of "SiglaComissao" and the name "Vaz de Lima" has 11 types</p>
  
  <p>Please, is there a way to make a PivotTable to count items without repeats?</p>