----比较frame2和frame1每列的内容的不同
val dfColumns = frame2.columns
dfColumns.foreach(item => {
println("====================================================="+item)
val empty = frame2.select(item).except(frame1.select(item)).show()
})
----打印dataFrame的列名和每列的数值类型:
frame2.printSchema()标签:某列,val,dataFrame,item,每列,frame2,比较,select From: https://www.cnblogs.com/ivyJ/p/16982684.html