title: How to get a single value as a string from pandas data frame
body: <p>I am querying a single value from my data frame which seems to be 'dtype: object'. I simply want to print the value as it is with out printing the index or other information as well. How do I do this?</p>
  
  <pre><code>col_names = ['Host', 'Port']
  df = pd.DataFrame(columns=col_names)
  df.loc[len(df)] = ['a', 'b']
  
  t = df[df['Host'] == 'a']['Port']
  print(t)
  </code></pre>
  
  <p>OUTPUT:
  <a href="https://i.stack.imgur.com/gxLL5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gxLL5.png" alt="enter image description here"></a></p>
  
  <p>EXPECTED OUTPUT:
  b</p>