Skip to content

Commit

Permalink
remove empty string sequence ops
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaGrandhay committed Oct 24, 2024
1 parent cb6997e commit ca174a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions patstat/p08b_outils_inpi_adress_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2087,6 +2087,7 @@ def create_df_address():
appln_prio["type_party"] = "applicant"
inv_prio["type_party"] = "inventor"
prt_ops = pd.concat([appln_prio, inv_prio], ignore_index=True)
prt_ops = prt_ops.loc[prt_ops["sequence"] != ""]
prt_ops["sequence"] = prt_ops["sequence"].astype(int)
prt_ops2 = prt_ops.loc[prt_ops["country"] == "FR"].reset_index().drop(columns="index")
if len(prt_ops) > 0:
Expand Down

0 comments on commit ca174a6

Please sign in to comment.