A
Size: a a a
A
GP
A
val df1 = Seq(
(BigDecimal("1.11"), BigDecimal("0.00")),
(BigDecimal("0.00"), BigDecimal("2.22")),
(null, BigDecimal("3.33"))
)
.toDF("col1", "col2")
df1.filter(col("col1") =!= 0).show()
A
AS
A
AS
AS
DZ
DZ
DZ
AS
DZ
O
A
A
AE
N
O
O