@staticmethod
def _as_float_version(version):
    """
        Return a string version as a simplified float version (major.minor)

        Parameters
        ----------
        version: str
            Version.

        Return
        ------
        float
            version
        """
    return float('.'.join(version.split('.')[:2]))
