Использование Rliks в pyspark для числовых
//Filter DataFrame rows that has only digits of 'alphanumeric' column
import org.apache.spark.sql.functions.col
df.filter(col("alphanumeric")
.rlike("^[0-9]*$")
).show()
Yellowed Yacare