Skip to content

Commit

Permalink
fix numpy mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nreinicke committed Jul 22, 2024
1 parent 3a6d09f commit aa4fd98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mappymatch/matchers/match_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def matches_to_dataframe(self) -> pd.DataFrame:
A pandas dataframe
"""
df = pd.DataFrame([m.to_flat_dict() for m in self.matches])
df = df.fillna(np.NAN)
df = df.fillna(np.nan)

return df

Expand All @@ -37,6 +37,6 @@ def path_to_dataframe(self) -> pd.DataFrame:
return pd.DataFrame()

df = pd.DataFrame([r.to_flat_dict() for r in self.path])
df = df.fillna(np.NAN)
df = df.fillna(np.nan)

return df

0 comments on commit aa4fd98

Please sign in to comment.