A dataframe question - solved

Rather then changing your question title to "-solved" please just mark the answer that solved your question as the solution. You can see how to do that here: