title: KeyError: 'Message' in Jupyter Notebook
body: <p>I am new to machine learning and I am facing this issue.</p>
  
  <p>I have uploaded dataset with two columns and headings 'Message' and 'Priority'.</p>
  
  <p>when I run this command,I get this:</p>
  
  <pre><code>'df.columns'
  
  
  'Index(['Message\tPriority'], dtype='object')'
  </code></pre>
  
  <p>But, when I run this command, I get the following error:</p>
  
  <pre><code>X = df['Message']
  ylabels = df['Priority']
  
  KeyError                                  Traceback (most recent call last)
  D:\anna\lib\site-packages\pandas\core\indexes\base.py in get_loc(self, key, method, tolerance)
     2656             try:
  -&gt; 2657                 return self._engine.get_loc(key)
     2658             except KeyError:
  
  pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
  
  pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
  
  pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
  
  pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
  
  KeyError: 'Message'
  
  During handling of the above exception, another exception occurred:
  
  KeyError                                  Traceback (most recent call last)
  &lt;ipython-input-72-238deec7e797&gt; in &lt;module&gt;
        1 # Features and Labels
  ----&gt; 2 X = df['Message']
        3 ylabels = df['Priority']
  
  D:\anna\lib\site-packages\pandas\core\frame.py in __getitem__(self, key)
     2925             if self.columns.nlevels &gt; 1:
     2926                 return self._getitem_multilevel(key)
  -&gt; 2927             indexer = self.columns.get_loc(key)
     2928             if is_integer(indexer):
     2929                 indexer = [indexer]
  
  D:\anna\lib\site-packages\pandas\core\indexes\base.py in get_loc(self, key, method, tolerance)
     2657                 return self._engine.get_loc(key)
     2658             except KeyError:
  -&gt; 2659                 return self._engine.get_loc(self._maybe_cast_indexer(key))
     2660         indexer = self.get_indexer([key], method=method, tolerance=tolerance)
     2661         if indexer.ndim &gt; 1 or indexer.size &gt; 1:
  
  pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
  
  pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
  
  pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
  
  pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
  
  KeyError: 'Message'
  </code></pre>