Usando Rlike em Pyspark para numérico
//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