Based on your comments, this code returns a length of-1 pandas Series:
x.loc[bar==foo]['variable_im_interested_in']
If you assign this value to a variable, you can simply access the 0th element to get what you are looking for:
my_value_as_series = x.loc[bar==foo]['variable_im_interested_in']
plain_value = my_value_as_series[0]
also_plain_value = my_value_as_series.ix[0]
plain_value_too = my_value_as_series.values[0]
, x.loc[bar==foo]['variable_im_interested_in'][0] ( ), .
, loc:
x.loc[bar==foo, 'variable_im_interested_in'][24]