(self, propertySelectors, newProperties=None,
             retainGeometry=True, *args)
Select properties from each feature in a collection.

    Args:
      propertySelectors: An array of names or regexes specifying the properties
          to select.
      newProperties: An array of strings specifying the new names for the
          selected properties.  If supplied, the length must match the number
          of properties selected.
      retainGeometry: A boolean.  When false, the result will have no geometry.
      *args: Selector elements as varargs.

    Returns:
      The feature collection with selected properties.
Select properties from each feature in a collection.
Select properties from each feature in a collection .
def select(self, propertySelectors, newProperties=None,
             retainGeometry=True, *args):
    """Select properties from each feature in a collection.

    Args:
      propertySelectors: An array of names or regexes specifying the properties
          to select.
      newProperties: An array of strings specifying the new names for the
          selected properties.  If supplied, the length must match the number
          of properties selected.
      retainGeometry: A boolean.  When false, the result will have no geometry.
      *args: Selector elements as varargs.

    Returns:
      The feature collection with selected properties.
    """
    if len(args) or ee_types.isString(propertySelectors):
      args = list(args)
      if not isinstance(retainGeometry, bool):
        args.insert(0, retainGeometry)
      if newProperties is not None:
        args.insert(0, newProperties)
      args.insert(0, propertySelectors)
      return self.map(lambda feat: feat.select(args, None, True))
    else:
      return self.map(
          lambda feat: feat.select(
              propertySelectors, newProperties, retainGeometry))
def select ( self , propertySelectors , newProperties = None , retainGeometry = True , * args ) : if len ( args ) or ee_types . isString ( propertySelectors ) : args = list ( args ) if not isinstance ( retainGeometry , bool ) : args . insert ( 0 , retainGeometry ) if newProperties is not None : args . insert ( 0 , newProperties ) args . insert ( 0 , propertySelectors ) return self . map ( lambda feat : feat . select ( args , None , True ) ) else : return self . map ( lambda feat : feat . select ( propertySelectors , newProperties , retainGeometry ) )