title: Elegant and efficient way to replace multiple terms in a pandas column
body: <p>I would like to replace multiple values in the data frame column as shown below</p>
  <pre><code>df['label'] = ['Sodium', 'Bicarbonate', 'White Blood Cells', 'Hemoglobin',
         'Glucose', 'Lactate', 'pH', 'Potassium, Whole Blood',
         'Sodium, Whole Blood', 'Lactate Dehydrogenase (LD)',
         'Bilirubin, Direct', 'Alkaline Phosphatase',
         'Alanine Aminotransferase (ALT)',
         'Asparate Aminotransferase (AST)', 'Potassium', 'Phosphate',
         'Creatinine', 'C-Reactive Protein', 'pCO2',
         'Calculated Bicarbonate, Whole Blood', 'Bilirubin, Total',
         'Albumin', 'Bilirubin, Indirect', 'Urine Volume', 'WBC Count',
         'Urine Volume, Total', 'Phosphate, Body Fluid']
  </code></pre>
  <p>In the below code, am trying to replace <code>Sodium</code> and <code>Sodium, Whole Blood</code> with just <code>Sodium</code>.</p>
  <p>Similarly, I do the same for the rest of the measurements as well</p>
  <pre><code>df['label'] = df['label'].replace(dict.fromkeys(['Sodium','Sodium, Whole Blood'], 'Sodium'))
  df['label'] = df['label'].replace(dict.fromkeys(['Bicarbonate','Calculated Bicarbonate, Whole Blood'], 'Bicarbonate'))
  df['label'] = df['label'].replace(dict.fromkeys(['Bicarbonate','Bilirubin, Indirect'], 'Bicarbonate'))
  df['label'] = df['label'].replace(dict.fromkeys(['Bilirubin, Direct','Bilirubin, Total','Calculated Bicarbonate, Whole Blood'], 'Bilirubin'))
  df['label'] = df['label'].replace(dict.fromkeys(['Urine Volume, Total','Urine Volume'], 'Urine Volume'))
  df['label'] = df['label'].replace(dict.fromkeys(['White Blood Cells','WBC Count'], 'WBC'))
  df['label'] = df['label'].replace(dict.fromkeys(['Potassium, Whole Blood','Potassium'], 'Potassium'))
  df['label'] = df['label'].replace(dict.fromkeys(['Phosphate','Phosphate, Body Fluid'], 'Phosphate'))
  </code></pre>
  <p>Though the above code works perfectly fine, is there any other efficient way to replace efficiently instead of repeating the same line of code multiple times?</p>