-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to remove the following DeprecationWarning msg in jupyter notebook after using pygam? #220
Comments
@jzang18 i suspect that https://github.com/dswah/pyGAM/blob/master/pygam/utils.py#L229 might be the cause of this. |
@jzang18 i installed python 2.7.15 and numpy 1.11, but I have not been able to reproduce this jupyter warning. |
I'ts probably not python and numpy. I don't have issues in python run. I only have issues when using jupyter notebook. And warnings appears every time I run something after I using pygam. I noticed this after update in Aug/Sept. I tried update my python/numpy/pandas, etc, nothing helps. |
google shows me it's from a jupyter/jso issue around 2017, although my jupyter is up to date. Not why is issue only kicks in after I use pygam. |
it's good now after updating utils.py |
this warning shows up in every cell after using pygam:
"xxx/anaconda/lib/python2.7/json/encoder.py:207: DeprecationWarning: Interpreting naive datetime as local 2018-10-26 09:17:00.557755. Please add timezone info to timestamps.
chunks = self.iterencode(o, _one_shot=True)"
It ONLY shows up after I use pygam. I am using python 2.7.15.
The text was updated successfully, but these errors were encountered: