Skip to content

Commit

Permalink
suppress warning if pandas > 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ncerutti committed Mar 6, 2024
1 parent 9c6e020 commit d3c5fb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ods_tools/odtf/runner/pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#
# Group Wrappers
#

pd.set_option('future.no_silent_downcasting', True)
if tuple(map(int, pd.__version__.split('.'))) >= (1, 5, 0):
pd.set_option('future.no_silent_downcasting', True)
logger = logging.getLogger(__name__)


Expand Down

0 comments on commit d3c5fb1

Please sign in to comment.