Skip to content

Commit 8603346

Browse files
committed
remove column conversion to string as causing data miss-shaping
1 parent 70f2f0a commit 8603346

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/jobs/housing/housing_apply_gx_dq_tests.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,6 @@ def main():
136136
value=results_df.set_index(['expectation_config.type', 'dataset_name']).index.factorize()[0] + 1)
137137
results_df['expectation_id'] = results_df['expectation_config.type'] + "_" + results_df['dataset_name']
138138

139-
# convert single column to string to avoid conversion error later on
140-
results_df['result.unexpected_list'] = results_df['result.unexpected_list'].astype(str)
141-
142139
results_df['import_year'] = datetime.today().year
143140
results_df['import_month'] = datetime.today().month
144141
results_df['import_day'] = datetime.today().day

0 commit comments

Comments
 (0)