add keys method to DataFrame.scala