title: Filtering for 'contains value' in a dataset in Python
body: <p>In Python how do you filter a column by values that contain a particular value?</p>
  <p>An example is a data set with a column called 'City' and the values could be 'Sydney', 'Greater Sydney', 'North Sydney' etc. If a use input 'Sydney' how can I ensure that all variations are included in the filtering?</p>
  <pre><code>#user inputs column
  input1 = input()
  country_city = input1.title()
  
  #user inputs value
  input2 = input()
  country_city_value = input2.title()
  
  #filtering step (current)
  filtered = dataset[dataset[country_city] == country_city_value]
  print(filtered)
  
  </code></pre>