这似乎是一件非常幼稚的事情,但我只是想确保我的理解是否正确。要作为快捷方式直接从pandasdataframe绘图,我的第一个选择是调用plot()方法并传入我想要绘制的绘图的x和y以及kind。否则,我可以将数据帧作为pandas.plotting.object and then call method 如果我上面的声明是正确的,那么为什么我没有得到我想要的单变量图(hist,box等)?df
inplace=True)"Warning (from warnings module):SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrameSee the caveats in t