updated .ix functionality to be identical to a dataframe