求助大神 这个怎么去掉
问题描述:
C:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py:35: FutureWarning: Sorting because non-concatenation axis is not aligned. A future version of pandas will change to not sort by default. To accept the future behavior, pass 'sort=False'. To retain the current behavior and silence the warning, pass 'sort=True'.
答
在开头加一行
import warnings
warnings.filterwarnings("ignore")
答
一个警告,简单的处理方式就是修改源码,然后添加一个参数 sort = True 或者 sort = False。