title: Pyrhon: Get days of month present in current month?
body: <p>I have df with two columns number and day. I'm trying to get the frequency of particular days if <code>day</code> is <code>True</code>.</p>
  
  <p>From <code>Monday - 0</code> to <code>sunday - 6</code> as per calendar.</p>
  
  <p>For <code>1(Tuesday)</code> there are <code>4 Tuesdays</code> present in the month of <code>may</code>. 
  Similarly for <code>6(Sunday)</code> there are <code>5 Sundays</code> in <code>may</code>.  </p>
  
  <p>df</p>
  
  <pre><code>    df= pd.DataFrame(data = {'number' : ['1', '2', '3', '4', '6'], 'day' : [True, False, False, False, True]}) 
  
  
          number  day
      0   1       True
      1   2       False
      2   3       False
      3   4       False
      4   6       True
  </code></pre>
  
  <p>My excepted output:</p>
  
  <pre><code>        number          day
      0   7,14,21,28      True
      1   2               False   
      2   3               False
      3   4               False
      4   3,10,17,24,31   True
  </code></pre>