理解python代码中的map和.text

理解python代码中的map和.text,python,Python,您好,我正在使用代码,但无法理解下面一行中发生了什么 def get_users(): content = requests.get('https://wiki.openstreetmap.org/wiki/Amazon_Logistics').content soup = BeautifulSoup(content,features='lxml') users_list = soup.find_all('bdi') #bdi tag holds the user ids

您好,我正在使用代码,但无法理解下面一行中发生了什么

def get_users():
    content = requests.get('https://wiki.openstreetmap.org/wiki/Amazon_Logistics').content
    soup = BeautifulSoup(content,features='lxml')
    users_list = soup.find_all('bdi') #bdi tag holds the user ids
    users_list = [user for user in map(lambda x: x.text,users_list) if user!='Amazon']
    return users_list
谁能帮我一下吗

users_list = [user for user in map(lambda x: x.text,users_list) if user!='Amazon']