FutureWarning: pandas.util.testing is deprecated - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: FutureWarning: pandas.util.testing is deprecated (/thread-26874.html) |
FutureWarning: pandas.util.testing is deprecated - buunaanaa - May-17-2020 I am using anaconda3 windows10 I am coding main.ipynb using jupyter notebook I wrote a function in 2.py which is in the same folder as the main.ipynb when after I updated the 2.py and saved file, and trying run the code in main, I find Jupiter not picking up the updated code 2.py file even I ran the code from the very top to bottom. I have to restart the kernel for every single update in the 2.py and showing me an error Does anyone know what can I do about this?
RE: FutureWarning: pandas.util.testing is deprecated - snippsat - May-17-2020 (May-17-2020, 05:51 AM)buunaanaa Wrote: Does anyone know what can I do about this?How should anyone now what you have done or the content it apply to it's the message i talk about in post #4. Just to show that i also can get this message. (my_env) E:\div_code\my_env λ python Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import pinkfish as pf So this is to get pinkfish to work,after edit of source code in fetch.py .As i told you can ignore this message. import one more time in same run and is't gone. >>> import pinkfish as pf >>>Put you got other problems after this fix,then i did show how to run all of this in virtual environment post #8. RE: FutureWarning: pandas.util.testing is deprecated - buunaanaa - May-17-2020 sorry, this is not related to the last problem I had. #main.ipynb import pandas as pd import numpy as np import os from pandas import DataFrame from datetime import datetime import matplotlib.pyplot as plt #import pyEX as p import csv import requests import matplotlib.pyplot as plt import matplotlib.dates as mdates import matplotlib as mpl %matplotlib inline from matplotlib.pylab import rcParams import seaborn as sns # from talib.abstract import * # from pandas_datareader import data import pandas_datareader as dr import pandas_datareader.data as web import buunaanaa x=2 buunaanaa.readbuu(x)here is the second file: #buunaanaa.py def readbuu(x): print('111') return xwhen i add a line into the 2nd part: #buunaanaa.py def readbuu(x): print('111') # after i added next line and save the file, it won't show 222 unless i reseat the kernel print('222') return xafter i saved buunaanaa.py and run the code in main.ipynb, it won't show 222 unless i restart the kernel. at the same time it shows me an error BTW, I un-install the Anaconda and re-installed it completely after I had issues with old pandas.
RE: FutureWarning: pandas.util.testing is deprecated - snippsat - May-17-2020 It's from pandas-datareader and the issue is reported You can just ignore as it's warning not an error. |