title: Pandas Delete Part of String
body: <pre><code>&gt;&gt;&gt; df
                         Time
      5/10/2017 (135) 01:05:03
      5/11/2017 (136) 04:05:06
  </code></pre>
  
  <p>Given an input date such as this in a DataFrame, how would I delete the Julian Date, (135) and (136), and remove the whitespace in the middle, so that the output looks like:</p>
  
  <pre><code>&gt;&gt;&gt; df
                         Time
      5/10/2017 01:05:03
      5/11/2017 04:05:06
  </code></pre>
  
  <p>I've tried:</p>
  
  <pre><code>df['Time'].replace('(135)','', regex=True, inplace=True)
  </code></pre>
  
  <p>which outputs:</p>
  
  <pre><code>&gt;&gt;&gt; df
                      Time
  0  5/10/2017 () 01:05:03
  </code></pre>
  
  <p>I was wondering what I'm doing wrong here.</p>