I'm a novice Jupyter user (but long-time Python developer). I have a module which imports pandas.types.common to get at is_datetimelike. I get no complaints at a vanilla Python prompt. When that code is loaded into a running Jupyter notebook, I get a pink warning I've so far not been able to dismiss which basically says:
.../ipykernel_launcher.py:1: DeprecationWarning: pandas.types.common is deprecated ... yadda yadda yadda ...
It recommends that I use pandas.api.types instead. That's fine, but is_datetimelike isn't available there.
I'm happy to adapt to whatever is "correct", but this seems a bit inconsistent to me.
Version info:
Python 3.6.6
iykernel 4.8.2
ipython 6.4.0
jupyter 1.0.0
jupyter_core 4.4.0
I can't really update any of these (well, I could in my personal Conda environment, but not our production environments).
Is there a clean way around my pink warning dilemma?
Thanks,
Skip Montanaro