code: public static String getChemicalSeries(String symbol) {
          Elements e = Elements.ofString(symbol);
          for (Series s : Series.values())
              if (s.contains(e)) return s.name();
          return null;
      }
docs: Get the chemical series for an element.
  
  @param symbol the symbol of the element
  @return the chemical series of the element