title: How to extract last two word using split() in python?
body: <p>This is the data which needs to be extracted:</p>
  
  <p><img src="https://i.stack.imgur.com/a23AI.png" alt=""></p>
  
  <p>I tried this code to extract last two words </p>
  
  <pre><code>(missing_migrants["Place of Information"]
  =missing_migrants["Location Description"].str.split[-2:])
  </code></pre>
  
  <p>but it resulted to an error</p>
  
  <hr>
  
  <pre><code>TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-99-0de415609b6e&gt; in &lt;module&gt;
  ----&gt; 1 missing_migrants["Place of Information"]=missing_migrants["Location Description"].str.split().str.get[-2:]
  
  TypeError: 'method' object is not subscriptable
  </code></pre>
  
  <p>Where am I doing error? Please help. The column from which it needs to be extracted is shared as an image.</p>