def clean_neighborhood_info(x):
  """This function should be applied to a neighborhood name column via a lambda function to return edited column values
  Several neighborhoods in Pittsburgh have multiple column aliases. The function checks a column for these aliases and
  replaces them with the neighborhood name contained in the City of Pittsburgh's official data'"""
  if x == 'Arlington/Arlington Heights':
    return 'Arlington Heights'
  if x == 'Crafton':
    return 'Crafton Heights'
  if x == 'Downtown':
    return 'Central Business District'
  if x == 'East Allegheny - Deutschtown':
    return 'East Allegheny'
  if x == 'Hays or Hays Woods':
    return 'Hays'
  if x == 'Mt. Washington':
    return 'Mount Washington'
  if x == 'Sprint Hill':
    return 'Spring Hill - City View'
  if x == 'The Hill District':
    return 'Hill District'
  if x == 'The Strip District':
    return 'Strip District'
  if x == 'West End Village':
    return 'West End'
  else:
    return x