Scala Cannot Resolve Symbol Greater Than, However the toDF method doesn't compile with a cannot resolve symbol toDF.