Skip to content

Instantly share code, notes, and snippets.

@64lines
Created February 19, 2019 21:12
Show Gist options
  • Save 64lines/f53c3c724ad8f58bb81580dc79169662 to your computer and use it in GitHub Desktop.
Save 64lines/f53c3c724ad8f58bb81580dc79169662 to your computer and use it in GitHub Desktop.
from pyspark.sql.functions import *
fact_df = fact_df.withColumn('column_name', regexp_replace(col('column_name', ',', ''))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment