title: Add n months to a pandas Period object?
body: <p>This seems like it should be easy but I can find no answer when googling. Say I have some variable k that is of type pandas.Period, and whose value is:</p>
  
  <pre><code>Period('2018-11', 'M')
  </code></pre>
  
  <p>How do I add n months to this variable. For example if n is 3 i would want k to be </p>
  
  <pre><code>Period('2019-02', 'M')
  </code></pre>
  
  <p>I have tried the following:</p>
  
  <pre><code>k.month = k.month + 12
  </code></pre>
  
  <p>But this fails saying:</p>
  
  <pre><code>AttributeError: attribute 'month' of 'pandas._libs.tslibs.period._Period' objects is not writable
  </code></pre>