We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca38bb7 commit 17259d0Copy full SHA for 17259d0
doctor_visits/tests/test_geomap.py
@@ -3,14 +3,14 @@
3
from delphi_doctor_visits.geo_maps import GeoMaps
4
from delphi_doctor_visits.config import Config
5
6
-CONFIG = Config()
7
DATA = pd.read_csv(
8
"test_data/SYNEDI_AGG_OUTPATIENT_07022020_1455CDT.csv.gz",
9
- usecols=CONFIG.FILT_COLS,
10
- dtype=CONFIG.DTYPES,
11
- parse_dates=[CONFIG.DATE_COL],
+ dtype=Config.DTYPES,
12
nrows=9,
13
)
+DATA.rename(columns=Config.DEVIANT_COLS_MAP, inplace=True)
+DATA = DATA[Config.FILT_COLS]
+DATA[Config.DATE_COL] = DATA[Config.DATE_COL].apply(pd.to_datetime)
14
15
GM = GeoMaps()
16
0 commit comments