Skip to content

Commit

Permalink
Remove outdated line
Browse files Browse the repository at this point in the history
  • Loading branch information
glatterf42 committed Feb 12, 2024
1 parent 412df6b commit 3245c91
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ixmp4/data/db/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")

Expand Down

0 comments on commit 3245c91

Please sign in to comment.