mapping-commons / sssom-py

Python toolkit for SSSOM mapping format
https://mapping-commons.github.io/sssom-py/index.html#
MIT License
49 stars 12 forks source link

Get rid of warning "Downcasting behavior in `replace` is deprecated and will be removed in a future version." #491

Closed matentzn closed 7 months ago

matentzn commented 7 months ago
/usr/local/lib/python3.10/dist-packages/sssom/util.py:156: FutureWarning: Downcasting behavior in `replace` is deprecated and will be removed in a future version. To retain the old behavior, explicitly call `result.infer_objects(copy=False)`. To opt-in to the future behavior, set `pd.se
t_option('future.no_silent_downcasting', True)`

clutters all log files massively now; Would be good to adress this correctly (not just suppressing the warning)