Skip to content

Commit b12df56

Browse files
committed
Reformat code with Black
1 parent 814b49e commit b12df56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/jobs/data_and_insight/person_matching_module.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def standardize_name(name: Column) -> Column:
404404
trim(
405405
regexp_replace(
406406
regexp_replace(regexp_replace(name, "0", "O"), "1", "L"),
407-
"^[\\&*./\\\]+",
407+
"^[\&*./\]+",
408408
"",
409409
)
410410
)
@@ -2362,7 +2362,7 @@ def train_model(
23622362
)
23632363
test_prediction = cv_model.transform(test)
23642364
test_prediction.show()
2365-
print(f"Write predictions to csv...")
2365+
print("Write predictions to csv...")
23662366
test_prediction.printSchema()
23672367
test_prediction_for_export = (
23682368
test_prediction.withColumn(

0 commit comments

Comments
 (0)