11
我想产生从数据的副区4列数据帧分成2行和2列蟒大熊猫数据帧副区
df =pd.DataFrame(np.random.randn(6,4),index=pd.date_range('1/1/2000',periods=6, freq='1h'))
然而下面将给出一个4行和1列情节
df.plot(use_index=False, title=f, subplots=True, sharey=True, figsize=(8, 6))
谢谢。
应手动,'进口matplotlib.pyplot为plt',然后像'因为我做的DF:plt.subplot(2,2,I + 1); plt.plot(DF [ i]);' – 2013-02-15 06:27:59
@ tesla1060我想大熊猫可以允许某种'figshape'参数... – 2013-06-07 21:54:08