parameters: (version)
return_statement: return float('.'.join(version.split('.')[:2]))
docstring: Return a string version as a simplified float version (major.minor)
  
          Parameters
          ----------
          version: str
              Version.
  
          Return
          ------
          float
              version
docstring_summary: Return a string version as a simplified float version (major.minor)
docstring_tokens: Return a string version as a simplified float version ( major . minor )
function: 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]))
function_tokens: def _as_float_version ( version ) : return float ( '.' . join ( version . split ( '.' ) [ : 2 ] ) )