@classmethod
def by_name(cls, name):
    """Returns a SerializationFormat object by the format name.

        Parameters
        ----------
        name : str
            The name of the serialization format. E.g. 'csv' or 'feather'.

        Returns
        -------
        SerializationFormat
            An object representing the given serialization format.

        Example
        -------
        >>> SerializationFormat.by_name('csv')
        <pdutil.serial.SerializationFormat.csv>
        """
    return cls.__NAME_TO_OBJ__[name]
