title: How to separate column into 3 columns in python
body: <p>I am trying to separate a column value into 3 columns by removing the brackets from below data. But I am unable to separate. I am using below code in python to separate.</p>
  <pre><code>Point:
  (48.1371079, 11.5753822, 0.0)
  (51.5142273, 7.4652789, 0.0)
  (51.3406321, 12.3747329, 0.0)
  </code></pre>
  <p>Expected output</p>
  <pre><code>Lat        Long       Point
  48.1371079 11.5753822 0.0
  51.5142273 7.4652789  0.0
  51.3406321 12.3747329 0.0
  
  </code></pre>
  <p>Code I tried:</p>
  <pre><code>data[['Lat', 'Long', 'Point']] = data.point.str.split(&quot;, &quot;,expand=True)
  </code></pre>
  <p>Error:</p>
  <pre><code>ValueError                                Traceback (most recent call last)
  &lt;ipython-input-42-35ce2b258b1f&gt; in &lt;module&gt;
  ----&gt; 1 data[['Lat', 'Long', 'Point']] = data.point.str.split(&quot;, &quot;,expand=True)
  
  ~\Anaconda3\lib\site-packages\pandas\core\frame.py in __setitem__(self, key, value)
     2933             self._setitem_frame(key, value)
     2934         elif isinstance(key, (Series, np.ndarray, list, Index)):
  -&gt; 2935             self._setitem_array(key, value)
     2936         else:
     2937             # set column
  
  ~\Anaconda3\lib\site-packages\pandas\core\frame.py in _setitem_array(self, key, value)
     2959             if isinstance(value, DataFrame):
     2960                 if len(value.columns) != len(key):
  -&gt; 2961                     raise ValueError(&quot;Columns must be same length as key&quot;)
     2962                 for k1, k2 in zip(key, value.columns):
     2963                     self[k1] = value[k2]
  
  ValueError: Columns must be same length as key
  </code></pre>