Skip to content

Commit

Permalink
correct if name file
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaGrandhay committed Sep 24, 2024
1 parent 418f537 commit bc84421
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions patstat/p08b_outils_inpi_adress_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ def create_df_address():
addresses = pd.concat(liste2)
addresses = addresses.drop_duplicates().reset_index(drop=True)

if "part_p08_address.csv" in files:
if csv == "part_p08_address.csv":
part_jointure = part.loc[part["address-complete-fr"].isna()]
part_jointure2 = part.loc[(part["address-complete-fr"].notna()) & (part["com-code"].isna())]
part_jointure_final = pd.concat([part_jointure, part_jointure2], ignore_index=True)
Expand Down Expand Up @@ -862,8 +862,6 @@ def create_df_address():
"le neubourg",
"3 rue jeanjacques rousseau aussillon 81200 mazamet"])]

missing2 = missing2.iloc[0:100, :]

lng = len(missing2)
lng2 = len(missing2)

Expand Down

0 comments on commit bc84421

Please sign in to comment.