Skip to content

Commit 17259d0

Browse files
committed
fix test geomap
1 parent ca38bb7 commit 17259d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doctor_visits/tests/test_geomap.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
from delphi_doctor_visits.geo_maps import GeoMaps
44
from delphi_doctor_visits.config import Config
55

6-
CONFIG = Config()
76
DATA = pd.read_csv(
87
"test_data/SYNEDI_AGG_OUTPATIENT_07022020_1455CDT.csv.gz",
9-
usecols=CONFIG.FILT_COLS,
10-
dtype=CONFIG.DTYPES,
11-
parse_dates=[CONFIG.DATE_COL],
8+
dtype=Config.DTYPES,
129
nrows=9,
1310
)
11+
DATA.rename(columns=Config.DEVIANT_COLS_MAP, inplace=True)
12+
DATA = DATA[Config.FILT_COLS]
13+
DATA[Config.DATE_COL] = DATA[Config.DATE_COL].apply(pd.to_datetime)
1414

1515
GM = GeoMaps()
1616

0 commit comments

Comments
 (0)