From c5de5e7a1127b0caed88089411d1914defba7f34 Mon Sep 17 00:00:00 2001 From: mullinscr Date: Mon, 26 Sep 2022 16:19:22 +0100 Subject: [PATCH] Stops the pandas future warning --- naptan/naptan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/naptan/naptan.py b/naptan/naptan.py index 2b0e987..f87e7ee 100644 --- a/naptan/naptan.py +++ b/naptan/naptan.py @@ -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,