title: Pandas - How to predict values of a another column with values from neighboring columns
body: <p>I have a <code>pandas</code> DataFrame that consists of several rows and columns. I am specifically interested in two columns. See the below example.</p>
  
  <pre><code>    UID    Item               Composition
      1      Water              Hydrogen,Oxygen
      2      Sulfuric acid      Hydrogen,Sulfur,Oxygen
      3      Alcohol            Spirit
      4      Hydrochloric acid  Hydrogen,Chloride
      5      Citric Acid        Hydrogen,Carbon, Oxygen
  </code></pre>
  
  <p>Let's say we have a very long list. I would like to predict the <code>Item</code> column by learning the <code>Composition</code> column. Please suggest the best method to do this using <code>python</code> libraries.</p>