docs: def pluck(record, *keys, **kwargs):
      """Return the record with the selected keys
  
      :param record: a list of dictionaries
      :param keys: some keys from the record
      :param kwargs: keywords determining how to deal with the keys
  
      >>> d = {'name': 'Lancelot', 'actor': 'John Cleese', 'color': 'blue'}
      >>> pluck(d, 'name', 'color')
      {'color': 'blue', 'name': 'Lancelot'}
  
      The keyword 'default' allows to replace a ``None`` value::
  
          >>> d = {'year': 2014, 'movie': 'Bilbo'}
          >>> pluck(d, 'year', 'movie', 'nb_aliens', default=0)
          {'movie': 'Bilbo', 'nb_aliens': 0, 'year': 2014}
  
      """
      default = kwargs.get('default', None)
      return reduce(lambda a, x: assoc(a, x, record.get(x, default)), keys, {})