disable SettingWithCopyWarning:
import pandas as pd pd.options.mode.chained_assignment = None
一了百了。
如何抑制SettingWithCopyWarning
原文:https://www.cnblogs.com/aaronhoo/p/15164645.html