title: Split Last two digit of a string
body: <p>I have been trying to split the last two digits after a comma from the rest of the string and there is no success. This is a csv file. Rows with digits that end with 00 do not have a comma and those that are multiples of 10 only show one digit. I think I can work my way around that for now I need help with splitting digits after the full stop from the rest of the object.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Values
  
  2020-01-01,"00:00:00",1467.21
  
  2020-01-01,"00:00:02",1467.28
  
  2020-01-01,"00:00:04",1466
  
  2020-01-01,"00:00:06",1467.06
  
  2020-01-01,"00:00:08",1466.83  
  
  2020-10-18,"19:55:04",3311.89
  
  2020-10-18,"19:55:06",3313.03
  
  2020-10-18,"19:55:08",3312.22
  
  2020-10-18,"19:55:10",3312.29
  
  2020-10-18,"19:55:12",3311.8</code></pre>
  </div>
  </div>
  </p>
  <p>I needed them to be</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Values 
  
  21
  28
  00
  06
  83
  89
  03
  22
  29
  08</code></pre>
  </div>
  </div>
  </p>
  <p>I used this code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import pandas as pd 
  df= pd.read_csv('MESHS')
  
  # dropping null value columns to avoid errors 
  df.dropna(inplace = True) 
    
  # new data frame with split value columns 
  new = Values.str.split('. ', n = 1, expand = True) 
  
  # making separate last name column from new data frame  
  print(new[1])</code></pre>
  </div>
  </div>
  </p>