I experienced a RuntimeWarning
RuntimeWarning: invalid value encountered in less_equal
Generated by this line of code of mine:
This happens due to Nan values in dataframe, which is completely fine with DF.
Nan
In Pycharm, This worked like a charm for me:
import warnings warnings.simplefilter(action = "ignore", category = RuntimeWarning)