Skip to content

Commit

Permalink
Update latest dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Feb 6, 2024
1 parent 10e8205 commit 41edc71
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions premium_primitives/latlong_to_city.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ def latlong_to_city(column):

latlong_df = pd.DataFrame({"latlongs": column})
latlong_df["is_null"] = latlong_df.apply(
lambda row: True
if any(map(lambda x: pd.isna(x), row["latlongs"]))
else False,
lambda row: (
True if any(map(lambda x: pd.isna(x), row["latlongs"])) else False
),
axis=1,
)
latlongs = latlong_df.apply(
Expand Down
6 changes: 3 additions & 3 deletions premium_primitives/latlong_to_countrycode.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ def latlong_to_countrycode(column):

latlong_df = pd.DataFrame({"latlongs": column})
latlong_df["is_null"] = latlong_df.apply(
lambda row: True
if any(map(lambda x: pd.isna(x), row["latlongs"]))
else False,
lambda row: (
True if any(map(lambda x: pd.isna(x), row["latlongs"])) else False
),
axis=1,
)
latlongs = latlong_df.apply(
Expand Down
6 changes: 3 additions & 3 deletions premium_primitives/latlong_to_county.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ def latlong_to_county(column):

latlong_df = pd.DataFrame({"latlongs": column})
latlong_df["is_null"] = latlong_df.apply(
lambda row: True
if any(map(lambda x: pd.isna(x), row["latlongs"]))
else False,
lambda row: (
True if any(map(lambda x: pd.isna(x), row["latlongs"])) else False
),
axis=1,
)
latlongs = latlong_df.apply(
Expand Down
6 changes: 3 additions & 3 deletions premium_primitives/latlong_to_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ def latlong_to_state(column):

latlong_df = pd.DataFrame({"latlongs": column})
latlong_df["is_null"] = latlong_df.apply(
lambda row: True
if any(map(lambda x: pd.isna(x), row["latlongs"]))
else False,
lambda row: (
True if any(map(lambda x: pd.isna(x), row["latlongs"])) else False
),
axis=1,
)
latlongs = latlong_df.apply(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
featuretools==1.28.0
numpy==1.24.4
numpy==1.26.4
pandas==1.5.3
phone-iso3166==0.4.1
phonenumbers==8.13.26
phonenumbers==8.13.29
zipcodes==1.2.0

0 comments on commit 41edc71

Please sign in to comment.