spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aakash Basu <aakash.spark....@gmail.com>
Subject Silly Spark SQL query
Date Mon, 28 Jan 2019 12:11:40 GMT
Hi,

How to do this when the column (malignant and prediction) names are stored
in two respective variables?


tp = test_transformed[(test_transformed.malignant == 1) &
(test_transformed.prediction == 1)].count()



Thanks,
Aakash.

Mime
View raw message