From 3245c91268c6baacce80d6b8f825b6822a5f153e Mon Sep 17 00:00:00 2001 From: Fridolin Glatter Date: Mon, 12 Feb 2024 11:45:56 +0100 Subject: [PATCH] Remove outdated line --- ixmp4/data/db/base.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ixmp4/data/db/base.py b/ixmp4/data/db/base.py index 3061e162..0f68d5af 100644 --- a/ixmp4/data/db/base.py +++ b/ixmp4/data/db/base.py @@ -239,10 +239,7 @@ def tabulate( if self.session.bind is not None: with self.engine.connect() as con: - return ( - pd.read_sql(_exc, con=con).replace([np.nan], [None]) - # pd.read_sql(_exc, con=con).fillna(np.nan).replace([np.nan], [None]) # noqa - ) + return pd.read_sql(_exc, con=con).replace([np.nan], [None]) else: raise ProgrammingError("Database session is closed.")