Skip to content

Commit

Permalink
Stops the pandas future warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mullinscr committed Sep 26, 2022
1 parent 99089e6 commit c5de5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion naptan/naptan.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def to_dataframe(self) -> pd.DataFrame:
pd.DataFrame
The converted StopList.
"""
return pd.DataFrame([asdict(stop) for stop in self]).replace('', None)
return pd.DataFrame([asdict(stop) for stop in self])

def filter(
self,
Expand Down

0 comments on commit c5de5e7

Please sign in to comment.