Closed
Description
The option "use_inf_as_null" used in lstchain/reco/utils.py, line 533, in filter_events
with pd.option_context('mode.use_inf_as_null', True):
was removed in pandas 2.0.0 released recently.
We either want to change this option or use temporarily pandas<2 if other errors are present.
From the pandas 2.0 documentation:
Removed deprecated global option use_inf_as_null in favor of use_inf_as_na (GH17126)
Second removal : Removed deprecated Series.append(), DataFrame.append(), use concat() instead (GH35407)