Skip to content

Commit 122f80a

Browse files
Gris-Nez est métropolitain
1 parent 54e3201 commit 122f80a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opendata/transformers/operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ def est_metropolitain(self, row):
5555

5656
if row["cross"] in cross_hors_metropole:
5757
return False
58-
if row["est_metropolitain"] is None:
59-
return row["cross"] not in cross_hors_metropole and row["cross"] != "Gris-Nez"
58+
if row["est_metropolitain"] in [np.nan, None]:
59+
return row["cross"] not in cross_hors_metropole
6060
return row["est_metropolitain"]
6161

6262
def vent_direction_categorie(self, series):

0 commit comments

Comments
 (0)