python报错:FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas.........has dtype incompatible with float32, please explicitly cast to a compatible dtype first.
不影响程序运行,只是不断弹出影响输出查看。
认为是无关紧要的小问题,不关乎结果正确与否,
采取暴力消除的方式
import warnings
warnings.simplefilter(action='ignore', category=FutureWarning)
完美解决!