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

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/19125ad5-0d2b-4771-97ac-e7b860e633f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to