Skip to content

Commit

Permalink
Merge pull request #384 from seattleflu/kp_census_tract
Browse files Browse the repository at this point in the history
parse-kp: read census tract as string
  • Loading branch information
sallybg authored Apr 23, 2024
2 parents 9a801df + af2d45b commit 36d0c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/seattleflu/id3c/cli/command/clinical.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def parse_kp(kp_filename, kp_specimen_manifest_filename, manifest_format, output
All clinical records parsed are output to stdout as newline-delimited JSON
records. You will likely want to redirect stdout to a file.
"""
clinical_records = pd.read_csv(kp_filename)
clinical_records = pd.read_csv(kp_filename, dtype={'CensusTract': 'string'})
clinical_records.columns = clinical_records.columns.str.lower()

clinical_records = trim_whitespace(clinical_records)
Expand Down

0 comments on commit 36d0c9c

Please sign in to comment.