Skip to content

Commit

Permalink
fix(clean): split parameter for clean_phone
Browse files Browse the repository at this point in the history
  • Loading branch information
atol committed Nov 15, 2020
1 parent fc9e939 commit f9bb100
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dataprep/clean/clean_phone.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def format_phone(
row["area_code"], row["office_code"], row["station_code"], row["ext_num"] = (
np.nan,
) * 4
else:
row[f"{col}_clean"] = row[col] if errors == "ignore" else np.nan
return row

Expand Down

0 comments on commit f9bb100

Please sign in to comment.