File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
_delphi_utils_python/delphi_utils/validator Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -132,9 +132,6 @@ def get_geo_signal_combos(data_source, api_key):
132
132
meta = pd .DataFrame .from_dict (response ["epidata" ])
133
133
# note: this will fail for signals with weekly data, but currently not supported for validation
134
134
meta = meta [meta ["time_type" ] == "day" ]
135
- meta ["min_time" ] = meta .apply (lambda x : pd .to_datetime (str (x .min_time ), format = "%Y%m%d" ), axis = 1 )
136
- meta ["max_time" ] = meta .apply (lambda x : pd .to_datetime (str (x .max_time ), format = "%Y%m%d" ), axis = 1 )
137
- meta ["last_update" ] = pd .to_datetime (meta ["last_update" ], unit = "s" )
138
135
139
136
source_meta = meta [meta ['data_source' ] == data_source ]
140
137
# Need to convert np.records to tuples so they are hashable and can be used in sets and dicts.
You can’t perform that action at this time.
0 commit comments