Skip to content

Commit 79ab7c8

Browse files
committed
Merge branch 'main' into ndefries/pandasv2-fix-tests
2 parents 6a82efc + 2f92ca7 commit 79ab7c8

File tree

15 files changed

+19
-15
lines changed

15 files changed

+19
-15
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.3.34
2+
current_version = 0.3.35
33
commit = True
44
message = chore: bump covidcast-indicators to {new_version}
55
tag = False

_delphi_utils_python/.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.3.11
2+
current_version = 0.3.12
33
commit = True
44
message = chore: bump delphi_utils to {new_version}
55
tag = False

_delphi_utils_python/delphi_utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
from .nancodes import Nans
1616
from .weekday import Weekday
1717

18-
__version__ = "0.3.11"
18+
__version__ = "0.3.12"

_delphi_utils_python/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"mock",
1515
"moto",
1616
"numpy",
17-
"pandas>=1.1.0",
17+
"pandas>=1.1.0,<2",
1818
"pydocstyle",
1919
"pylint==2.8.3",
2020
"pytest",
@@ -26,7 +26,7 @@
2626

2727
setup(
2828
name="delphi_utils",
29-
version="0.3.11",
29+
version="0.3.12",
3030
description="Shared Utility Functions for Indicators",
3131
long_description=long_description,
3232
long_description_content_type="text/markdown",

_delphi_utils_python/tests/test_geomap.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,10 @@ def test_add_geocode(self, geomapper):
275275
new_data = geomapper.add_geocode(self.zip_data, "zip", "state_code")
276276
new_data2 = geomapper.add_geocode(new_data, "state_code", "nation")
277277
assert new_data2["nation"].unique()[0] == "us"
278+
new_data = geomapper.replace_geocode(self.zip_data, "zip", "state_code")
279+
new_data2 = geomapper.add_geocode(new_data, "state_code", "state_id", new_col="state")
280+
new_data3 = geomapper.replace_geocode(new_data2, "state_code", "nation", new_col="geo_id")
281+
assert "state" not in new_data3.columns
278282

279283
# state_code -> hhs
280284
new_data = geomapper.add_geocode(self.zip_data, "zip", "state_code")

changehc/version.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
current_version = 0.3.34
1+
current_version = 0.3.35

claims_hosp/version.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
current_version = 0.3.34
1+
current_version = 0.3.35

doctor_visits/version.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
current_version = 0.3.34
1+
current_version = 0.3.35

dsew_community_profile/version.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
current_version = 0.3.34
1+
current_version = 0.3.35

google_symptoms/version.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
current_version = 0.3.34
1+
current_version = 0.3.35

hhs_hosp/version.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
current_version = 0.3.34
1+
current_version = 0.3.35

nchs_mortality/version.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
current_version = 0.3.34
1+
current_version = 0.3.35

nowcast/version.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
current_version = 0.3.34
1+
current_version = 0.3.35

quidel_covidtest/version.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
current_version = 0.3.34
1+
current_version = 0.3.35

sir_complainsalot/version.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
current_version = 0.3.34
1+
current_version = 0.3.35

0 commit comments

Comments
 (0)