title: How to assign string value for one column depending on string value in another string value?
body: <p>I have such a dataframe:</p>
  <pre><code>Name | Assignment Group
  ABC | 1
  DEF | 1
  FGH | 1
  ABC | 1
  IJK | 1
  </code></pre>
  <p>I now want to assign a specific <code>Assignment Group</code> depending on column <code>Name</code>.
  E.g.: Name <code>ABC</code> and <code>IJK</code> belong to group <code>A</code> and <code>DEF</code> as well as <code>FGH</code> to <code>B</code>.</p>
  <p>In the end I want to get a dataframe like this:</p>
  <pre><code>Name | Assignment Group
  ABC | A
  DEF | B
  FGH | B
  ABC | A
  IJK | A
  </code></pre>
  <p>How can I do this in python? It would be okay to do this group by group.</p>